diff options
author | knu <knu@FreeBSD.org> | 2003-03-28 09:52:25 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2003-03-28 09:52:25 +0000 |
commit | cbe19aa30afc7bd734799dd1eb3bb040e16dd170 (patch) | |
tree | d8e2b0c6cafa13921f6daa2833697d31fd319316 /ports-mgmt/portupgrade-devel | |
parent | e87f7e8c8f3b18174a648f86612a738168d242c8 (diff) | |
download | FreeBSD-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/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/portupgrade-devel/files/patch-pkg_fetch | 11 |
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 |