mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Fix an error handler typo so it fails gracefully.
This commit is contained in:
parent
8f2801ea95
commit
d74c4dc3c0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=77602
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= portupgrade
|
||||
PORTVERSION= 20030308
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \
|
||||
${MASTER_SITE_LOCAL}
|
||||
|
11
ports-mgmt/portupgrade-devel/files/patch-pkg_fetch
Normal file
11
ports-mgmt/portupgrade-devel/files/patch-pkg_fetch
Normal file
@ -0,0 +1,11 @@
|
||||
--- bin/pkg_fetch.orig Fri Mar 28 18:50:21 2003
|
||||
+++ bin/pkg_fetch Fri Mar 28 18:50:33 2003
|
||||
@@ -251,7 +251,7 @@
|
||||
|
||||
begin
|
||||
FileUtils.mv(temp_path, save_path)
|
||||
- rescue
|
||||
+ rescue => e
|
||||
warning_message "Failed to save the dowloaded tarball as #{save_path}"
|
||||
raise e
|
||||
end
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= portupgrade
|
||||
PORTVERSION= 20030308
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \
|
||||
${MASTER_SITE_LOCAL}
|
||||
|
11
ports-mgmt/portupgrade/files/patch-pkg_fetch
Normal file
11
ports-mgmt/portupgrade/files/patch-pkg_fetch
Normal file
@ -0,0 +1,11 @@
|
||||
--- bin/pkg_fetch.orig Fri Mar 28 18:50:21 2003
|
||||
+++ bin/pkg_fetch Fri Mar 28 18:50:33 2003
|
||||
@@ -251,7 +251,7 @@
|
||||
|
||||
begin
|
||||
FileUtils.mv(temp_path, save_path)
|
||||
- rescue
|
||||
+ rescue => e
|
||||
warning_message "Failed to save the dowloaded tarball as #{save_path}"
|
||||
raise e
|
||||
end
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= portupgrade
|
||||
PORTVERSION= 20030308
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \
|
||||
${MASTER_SITE_LOCAL}
|
||||
|
11
sysutils/portupgrade-devel/files/patch-pkg_fetch
Normal file
11
sysutils/portupgrade-devel/files/patch-pkg_fetch
Normal file
@ -0,0 +1,11 @@
|
||||
--- bin/pkg_fetch.orig Fri Mar 28 18:50:21 2003
|
||||
+++ bin/pkg_fetch Fri Mar 28 18:50:33 2003
|
||||
@@ -251,7 +251,7 @@
|
||||
|
||||
begin
|
||||
FileUtils.mv(temp_path, save_path)
|
||||
- rescue
|
||||
+ rescue => e
|
||||
warning_message "Failed to save the dowloaded tarball as #{save_path}"
|
||||
raise e
|
||||
end
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= portupgrade
|
||||
PORTVERSION= 20030308
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \
|
||||
${MASTER_SITE_LOCAL}
|
||||
|
11
sysutils/portupgrade/files/patch-pkg_fetch
Normal file
11
sysutils/portupgrade/files/patch-pkg_fetch
Normal file
@ -0,0 +1,11 @@
|
||||
--- bin/pkg_fetch.orig Fri Mar 28 18:50:21 2003
|
||||
+++ bin/pkg_fetch Fri Mar 28 18:50:33 2003
|
||||
@@ -251,7 +251,7 @@
|
||||
|
||||
begin
|
||||
FileUtils.mv(temp_path, save_path)
|
||||
- rescue
|
||||
+ rescue => e
|
||||
warning_message "Failed to save the dowloaded tarball as #{save_path}"
|
||||
raise e
|
||||
end
|
Loading…
Reference in New Issue
Block a user