bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] bug in bootstrap


From: Eric Blake
Subject: [Bug-tar] bug in bootstrap
Date: Thu, 03 Nov 2005 22:35:47 +0000

The nice addition of parsing ./.bootstrap during bootstrap to provide
canned command-line arguments has a slight flaw; patch below.

Also, in the eval that parses .bootstrap, "set --" is nonportable
(use "set dummy; shift" instead), and the eval is not robust to
characters special to the shell in $* (for example, you
have broken ./bootstrap --gnulib-srcdir='dir with space').  I wasn't
sure of how to patch that.

2005-11-03  Eric Blake  <address@hidden>

        * bootstrap (usage): Fix syntax error.

Index: bootstrap
===================================================================
RCS file: /cvsroot/tar/tar/bootstrap,v
retrieving revision 1.35
diff -u -b -r1.35 bootstrap
--- bootstrap   28 Oct 2005 09:29:16 -0000      1.35
+++ bootstrap   3 Nov 2005 22:10:00 -0000
@@ -52,7 +52,7 @@
  --no-po                      Do not download po files.
  --update-po[=LANG]           Update po file(s) and exit.
 
-If the file `.bootstrap' exists in the current working directory, its
+If the file \`.bootstrap' exists in the current working directory, its
 contents is read, comments and empty lines removed, shell variables expanded
 and the result is prepended to the command line options.

--
Eric Blake




reply via email to

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