From d74c4dc3c09e53ab778d2135c47f651ff3e08001 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Fri, 28 Mar 2003 09:52:25 +0000 Subject: Fix an error handler typo so it fails gracefully. --- sysutils/portupgrade/Makefile | 2 +- sysutils/portupgrade/files/patch-pkg_fetch | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 sysutils/portupgrade/files/patch-pkg_fetch (limited to 'sysutils/portupgrade') diff --git a/sysutils/portupgrade/Makefile b/sysutils/portupgrade/Makefile index eb573305aae1..ed11e96ca534 100644 --- a/sysutils/portupgrade/Makefile +++ b/sysutils/portupgrade/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/sysutils/portupgrade/files/patch-pkg_fetch b/sysutils/portupgrade/files/patch-pkg_fetch new file mode 100644 index 000000000000..898d4641bc72 --- /dev/null +++ b/sysutils/portupgrade/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 -- cgit v1.2.3