aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/portupgrade-devel/files
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-05-31 15:18:00 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-05-31 15:18:00 +0000
commit002a0185d3bd90e6b298ff89182060d1fb550b8a (patch)
treea03f7e8a8060fa4edd9489c2d7c9d9a81abb9da1 /ports-mgmt/portupgrade-devel/files
parent5feb8b8ae2937ff731321e09c583398d4b56bebf (diff)
downloadports-002a0185d3bd90e6b298ff89182060d1fb550b8a.tar.gz
ports-002a0185d3bd90e6b298ff89182060d1fb550b8a.zip
Notes
Diffstat (limited to 'ports-mgmt/portupgrade-devel/files')
-rw-r--r--ports-mgmt/portupgrade-devel/files/patch-portupgrade12
1 files changed, 12 insertions, 0 deletions
diff --git a/ports-mgmt/portupgrade-devel/files/patch-portupgrade b/ports-mgmt/portupgrade-devel/files/patch-portupgrade
new file mode 100644
index 000000000000..5daef36b97fd
--- /dev/null
+++ b/ports-mgmt/portupgrade-devel/files/patch-portupgrade
@@ -0,0 +1,12 @@
+--- portupgrade.orig Thu May 31 14:18:06 2001
++++ portupgrade Fri Jun 1 00:10:54 2001
+@@ -571,8 +571,7 @@
+ File.chmod 0644, w.path
+
+ if File.writable? file
+- File.delete file
+- File.rename w.path, file
++ system '/bin/mv', '-f', w.path, file
+ else
+ sudo '/bin/mv', '-f', w.path, file
+ end