bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] Problem with bootstrap (patch)


From: Marco Gerards
Subject: [Bug-tar] Problem with bootstrap (patch)
Date: 20 Jan 2004 21:12:03 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Hi,

The bootstrap script did not work for me because only the first
argument was accepted.  I've included a patch with this mail to fix
this problem.

Thanks,
Marco

2004-01-19  Marco Gerards  <address@hidden>

        * bootstrap: Use $option instead of $1 so all options will be
        parsed.

Index: bootstrap
===================================================================
RCS file: /cvsroot/tar/tar/bootstrap,v
retrieving revision 1.9
diff -u -p -r1.9 bootstrap
--- bootstrap   3 Jan 2004 22:22:01 -0000       1.9
+++ bootstrap   20 Jan 2004 19:56:27 -0000
@@ -32,11 +32,11 @@ do
     echo "$0: usage: $0 
[--gnulib-srcdir=DIR][--cvs-auth=AUTH-METHOD][--cvs-user=USERNAME]"
     exit;;
   --gnulib-srcdir=*)
-    GNULIB_SRCDIR=`expr "$1" : '--gnulib-srcdir=\(.*\)'`;;
+    GNULIB_SRCDIR=`expr "$option" : '--gnulib-srcdir=\(.*\)'`;;
   --cvs-auth=*)
-    CVS_AUTH=`expr "$1" : '--cvs-auth=\(.*\)'`;;
+    CVS_AUTH=`expr "$option" : '--cvs-auth=\(.*\)'`;;
   --cvs-user=*)
-    CVS_USER=`expr "$1" : '--cvs-user=\(.*\)'`;;
+    CVS_USER=`expr "$option" : '--cvs-user=\(.*\)'`;;
   --no-po)
     DOWNLOAD_PO=no;;
   *)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]