summaryrefslogtreecommitdiffstats
path: root/ports-mgmt/portupgrade-devel
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-03-28 09:52:25 +0000
committerknu <knu@FreeBSD.org>2003-03-28 09:52:25 +0000
commitcbe19aa30afc7bd734799dd1eb3bb040e16dd170 (patch)
treed8e2b0c6cafa13921f6daa2833697d31fd319316 /ports-mgmt/portupgrade-devel
parente87f7e8c8f3b18174a648f86612a738168d242c8 (diff)
downloadFreeBSD-ports-cbe19aa30afc7bd734799dd1eb3bb040e16dd170.zip
FreeBSD-ports-cbe19aa30afc7bd734799dd1eb3bb040e16dd170.tar.gz
Fix an error handler typo so it fails gracefully.
Diffstat (limited to 'ports-mgmt/portupgrade-devel')
-rw-r--r--ports-mgmt/portupgrade-devel/Makefile2
-rw-r--r--ports-mgmt/portupgrade-devel/files/patch-pkg_fetch11
2 files changed, 12 insertions, 1 deletions
diff --git a/ports-mgmt/portupgrade-devel/Makefile b/ports-mgmt/portupgrade-devel/Makefile
index eb57330..ed11e96 100644
--- a/ports-mgmt/portupgrade-devel/Makefile
+++ b/ports-mgmt/portupgrade-devel/Makefile
@@ -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}
diff --git a/ports-mgmt/portupgrade-devel/files/patch-pkg_fetch b/ports-mgmt/portupgrade-devel/files/patch-pkg_fetch
new file mode 100644
index 0000000..898d464
--- /dev/null
+++ b/ports-mgmt/portupgrade-devel/files/patch-pkg_fetch
@@ -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
OpenPOWER on IntegriCloud