]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
ylwrap patch from ian
authorTom Tromey <tromey@redhat.com>
Sat, 2 Aug 1997 19:30:48 +0000 (19:30 +0000)
committerTom Tromey <tromey@redhat.com>
Sat, 2 Aug 1997 19:30:48 +0000 (19:30 +0000)
ChangeLog
lib/ylwrap
ylwrap

index 23b1fb0c93c3e83d97691bab52bfb720cefda057..56e87240262d094697badb5d2a6bdd3d61ba4a03 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Jul 31 17:36:10 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ylwrap (pairlist): Shift out trailing "--"; don't pass it to
+       $prog.
+
 Thu Jul 24 00:52:02 1997  Tom Tromey  <tromey@cygnus.com>
 
        * automake.in (initialize_global_constants): Changed index names
index fbae17bd7af84127a505978ed26c3eda5f2bcd01..b37f2cd37b197fc7fcbf3482472719aa7708bb06 100755 (executable)
@@ -48,6 +48,7 @@ esac
 pairlist=
 while test "$#" -ne 0; do
    if test "$1" = "--"; then
+      shift
       break
    fi
    pairlist="$pairlist $1"
diff --git a/ylwrap b/ylwrap
index fbae17bd7af84127a505978ed26c3eda5f2bcd01..b37f2cd37b197fc7fcbf3482472719aa7708bb06 100755 (executable)
--- a/ylwrap
+++ b/ylwrap
@@ -48,6 +48,7 @@ esac
 pairlist=
 while test "$#" -ne 0; do
    if test "$1" = "--"; then
+      shift
       break
    fi
    pairlist="$pairlist $1"