diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2008-09-24 22:56:17 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2008-09-24 22:56:17 +0800 |
commit | 80c2d300f85016486f0a1325e71dbd950950196f (patch) | |
tree | 204b514460bd9fc15e00e60fd406f7d087a3347d | |
parent | a530df036c303085ea1950f0909956d196893f7f (diff) | |
download | freebsd-ports-gnome-80c2d300f85016486f0a1325e71dbd950950196f.tar.gz freebsd-ports-gnome-80c2d300f85016486f0a1325e71dbd950950196f.tar.zst freebsd-ports-gnome-80c2d300f85016486f0a1325e71dbd950950196f.zip |
- Fix commandline arguments handling (again)
-rw-r--r-- | ports-mgmt/porttools/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/porttools/files/patch-arguments-parsing | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/ports-mgmt/porttools/Makefile b/ports-mgmt/porttools/Makefile index 71b6549b679d..771b11d5925f 100644 --- a/ports-mgmt/porttools/Makefile +++ b/ports-mgmt/porttools/Makefile @@ -7,7 +7,7 @@ PORTNAME= porttools PORTVERSION= 0.77 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= ports-mgmt MASTER_SITES= SF diff --git a/ports-mgmt/porttools/files/patch-arguments-parsing b/ports-mgmt/porttools/files/patch-arguments-parsing index 63b94d8c4d69..c8a2c416dcf2 100644 --- a/ports-mgmt/porttools/files/patch-arguments-parsing +++ b/ports-mgmt/porttools/files/patch-arguments-parsing @@ -7,7 +7,7 @@ diff -ruN cmd_commit.in.orig cmd_commit.in set -- $ARGS -for i -do -+while [ x"" != x"--" -a x"" != x"" ] ++while [ x"$1" != x"--" -a x"$1" != x"" ] +do + i=$1 case "$i" in @@ -22,7 +22,7 @@ diff -ruN cmd_diff.in.orig cmd_diff.in set -- $ARGS -for i -do -+while [ x"" != x"--" -a x"" != x"" ] ++while [ x"$1" != x"--" -a x"$1" != x"" ] +do + i=$1 case "$i" in @@ -37,7 +37,7 @@ diff -ruN cmd_install.in.orig cmd_install.in set -- $ARGS -for i -do -+while [ x"" != x"--" -a x"" != x"" ] ++while [ x"$1" != x"--" -a x"$1" != x"" ] +do + i=$1 case "$i" in @@ -52,7 +52,7 @@ diff -ruN cmd_submit.in.orig cmd_submit.in set -- $ARGS -for i -do -+while [ x"" != x"--" -a x"" != x"" ] ++while [ x"$1" != x"--" -a x"$1" != x"" ] +do + i=$1 case "$i" in @@ -67,7 +67,7 @@ diff -ruN cmd_test.in.orig cmd_test.in set -- $ARGS -for i -do -+while [ x"" != x"--" -a x"" != x"" ] ++while [ x"$1" != x"--" -a x"$1" != x"" ] +do + i=$1 case "$i" in @@ -82,7 +82,7 @@ diff -ruN cmd_upgrade.in.orig cmd_upgrade.in set -- $ARGS -for i -do -+while [ x"" != x"--" -a x"" != x"" ] ++while [ x"$1" != x"--" -a x"$1" != x"" ] +do + i=$1 case "$i" in |