]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Quote file names in tests that can be absolute.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 26 Nov 2007 21:31:06 +0000 (22:31 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 26 Nov 2007 21:31:06 +0000 (22:31 +0100)
* tests/auxdir.test, tests/check3.test, tests/check4.test,
tests/compile.test, tests/cond33.test, tests/condhook.test,
tests/distdir.test, tests/dollar.test, tests/empty.test,
tests/gnits2.test, tests/gnits3.test, tests/include2.test,
tests/insthook.test, tests/java.test, tests/libtool7.test,
tests/lisp4.test, tests/lisp5.test, tests/lisp6.test,
tests/ltcond.test, tests/ltconv.test, tests/mkinst2.test,
tests/multlib.test, tests/nobase.test, tests/nodist2.test,
tests/obsolete.test, tests/pr287.test, tests/pr300-lib.test,
tests/pr300-ltlib.test, tests/pr300-prog.test, tests/python10.test,
tests/python3.test, tests/strip.test, tests/transform.test,
tests/txinfo13.test, tests/txinfo19.test, tests/txinfo22.test,
tests/txinfo23.test, tests/txinfo26.test, tests/txinfo27.test:
Likewise.

40 files changed:
ChangeLog
tests/auxdir.test
tests/check3.test
tests/check4.test
tests/compile.test
tests/cond33.test
tests/condhook.test
tests/distdir.test
tests/dollar.test
tests/empty.test
tests/gnits2.test
tests/gnits3.test
tests/include2.test
tests/insthook.test
tests/java.test
tests/libtool7.test
tests/lisp4.test
tests/lisp5.test
tests/lisp6.test
tests/ltcond.test
tests/ltconv.test
tests/mkinst2.test
tests/multlib.test
tests/nobase.test
tests/nodist2.test
tests/obsolete.test
tests/pr287.test
tests/pr300-lib.test
tests/pr300-ltlib.test
tests/pr300-prog.test
tests/python10.test
tests/python3.test
tests/strip.test
tests/transform.test
tests/txinfo13.test
tests/txinfo19.test
tests/txinfo22.test
tests/txinfo23.test
tests/txinfo26.test
tests/txinfo27.test

index 827195937a25384357286a9f34741f95a44779a9..fb86952a9b028d0c6b5b53ce9266f62b0816365b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,21 @@
 2007-11-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       Quote file names in tests that can be absolute.
+       * tests/auxdir.test, tests/check3.test, tests/check4.test,
+       tests/compile.test, tests/cond33.test, tests/condhook.test,
+       tests/distdir.test, tests/dollar.test, tests/empty.test,
+       tests/gnits2.test, tests/gnits3.test, tests/include2.test,
+       tests/insthook.test, tests/java.test, tests/libtool7.test,
+       tests/lisp4.test, tests/lisp5.test, tests/lisp6.test,
+       tests/ltcond.test, tests/ltconv.test, tests/mkinst2.test,
+       tests/multlib.test, tests/nobase.test, tests/nodist2.test,
+       tests/obsolete.test, tests/pr287.test, tests/pr300-lib.test,
+       tests/pr300-ltlib.test, tests/pr300-prog.test, tests/python10.test,
+       tests/python3.test, tests/strip.test, tests/transform.test,
+       tests/txinfo13.test, tests/txinfo19.test, tests/txinfo22.test,
+       tests/txinfo23.test, tests/txinfo26.test, tests/txinfo27.test:
+       Likewise.
+
        Quote @abs_top_builddir@ and @abs_top_srcdir@.
        * tests/aclocal.in: Likewise.
        * tests/automake.in: Likewise.
index 771d08bab36561c22f44e8a6eb589610434a1377..36fcc625b5122d3fb49686ea51097b7886873b21 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 1996, 2001, 2002, 2003, 2004  Free Software Foundation, Inc.
+# Copyright (C) 1996, 2001, 2002, 2003, 2004, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -34,7 +34,7 @@ cat > Makefile.am << 'END'
 pkgdata_DATA =
 END
 
-cp $testsrcdir/../lib/mkinstalldirs .
+cp "$testsrcdir/../lib/mkinstalldirs" .
 
 # The "././" prefix confuses Automake into thinking it is doing a
 # subdir build.  Yes, this is hacky.
index e8639968c8116d5cc8a9db2298204de04056ad4e..034c44771673663031c453a7ba41babbaf46bfe6 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2002, 2003  Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -61,7 +61,7 @@ END
 $ACLOCAL
 $AUTOCONF
 $AUTOMAKE
-./configure --prefix `pwd`/inst
+./configure --prefix "`pwd`/inst"
 $MAKE check >stdout
 cat stdout
 grep 'PASS: subrun.sh' stdout
index 3d37c23e469bd0ef84f1775fb39e20d0d9319e7e..c1632cfa00b087869042afe103462b8e0a10a147 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2005  Free Software Foundation, Inc.
+# Copyright (C) 2005, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -53,7 +53,7 @@ chmod +x ok.sh dir/fail.sh
 $ACLOCAL
 $AUTOCONF
 $AUTOMAKE
-./configure --prefix `pwd`/inst
+./configure --prefix "`pwd`/inst"
 $MAKE check >stdout && exit 1
 cat stdout
 grep 'FAIL: fail.sh' stdout
index 1f4c413c3ff5c05ae344ccb76a558b2d52c3e3f1..0fbf2b7e847e761290dd4c54ef257fb073f0fa7c 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2004  Free Software Foundation, Inc.
+# Copyright (C) 2004, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -24,7 +24,7 @@
 
 set -e
 
-cp $testsrcdir/../lib/compile .
+cp "$testsrcdir/../lib/compile" .
 
 # -o 'a  c' should not be stripped because 'a  c' is not an object
 # (it does not matter whether touch creates ./-- or not)
index 7275b1bc2c2bea6f5878e21c355c82bf97617563..081504110257809b611e2a8f20b4602aeca37326 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# Copyright (C) 2004  Free Software Foundation, Inc.
+# Copyright (C) 2004, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -52,7 +52,7 @@ $AUTOMAKE
 
 mkdir nowhere
 chmod a-w nowhere
-./configure --prefix=`pwd`/nowhere --bindir=`pwd`/bin --includedir=`pwd`/inc
+./configure "--prefix=`pwd`/nowhere" "--bindir=`pwd`/bin" "--includedir=`pwd`/inc"
 $MAKE installdirs
 test ! -d bin
 test -d inc/foo
@@ -63,7 +63,7 @@ test ! -d bin
 test -f inc/foo/foo.h
 rm -rf inc
 ./configure two=two \
-            --prefix=`pwd`/nowhere --bindir=`pwd`/bin --includedir=`pwd`/inc
+            "--prefix=`pwd`/nowhere" "--bindir=`pwd`/bin" "--includedir=`pwd`/inc"
 $MAKE install
 test ! -d inc
 test -f bin/x.sh
index 3b9ffd9645719c2b0b02ab52b96ada2d0741aa58..230a3a16d7f3c2dd08eeb94494eef3763e900437 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# Copyright (C) 2004  Free Software Foundation, Inc.
+# Copyright (C) 2004, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -43,5 +43,5 @@ END
 $ACLOCAL
 $AUTOCONF
 $AUTOMAKE
-./configure --prefix `pwd`/inst
+./configure --prefix "`pwd`/inst"
 $MAKE install
index 3e4b361c2772ee97b8a79ff2d241910d75a0931c..6c52272dabfa809b9357139a91c7b8071b9f0cd8 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 1996, 2001, 2002, 2003, 2006  Free Software Foundation, Inc.
+# Copyright (C) 1996, 2001, 2002, 2003, 2006, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -61,7 +61,7 @@ VERSION=10 MKDIR_P='echo MKDIR_P' $MAKE -e distdir >make.log || :
 grep 'MKDIR_P.*\.' make.log && exit 1
 
 cd ..
-./configure --prefix `pwd`
+./configure --prefix "`pwd`"
 $MAKE distcheck
 
 exit 0
index 9ae39940fe8c3bf86c3a147abbe00d823456299c..e0cd687766676755aa0e1e0e610d81ea4ffae24f 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# Copyright (C) 2002  Free Software Foundation, Inc.
+# Copyright (C) 2002, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -44,7 +44,7 @@ EOF
 $ACLOCAL
 $AUTOCONF
 $AUTOMAKE
-./configure --prefix `pwd`/inst
+./configure --prefix "`pwd`/inst"
 $MAKE install
 test -f 'inst/my/hello$world'
 $MAKE check-dist
index bb43b525ff15ca40b3b13dab228ecbac471828d3..3cfbb6b1ee9dd9d7734ba29e2336b55b8ab45538 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 1996, 1997, 1998, 2000, 2001, 2002, 2003
+# Copyright (C) 1996, 1997, 1998, 2000, 2001, 2002, 2003, 2007
 # Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
@@ -32,5 +32,5 @@ echo 'data_DATA =' >Makefile.am
 $ACLOCAL
 $AUTOCONF
 $AUTOMAKE
-./configure --prefix `pwd`/inst
+./configure --prefix "`pwd`/inst"
 $MAKE install
index 747e97c12ef8471f81b7a0a6ba755e21dc34d726..2b4dc9e458639b718de76db1dbd5724f89762510 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2002, 2003, 2004  Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003, 2004, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -106,7 +106,7 @@ mkdir build
 cd build
 
 # Use --program-prefix to make sure the std-options check honors it.
-../configure --prefix=`pwd`/../inst-dir --program-prefix=p
+../configure "--prefix=`pwd`/../inst-dir" --program-prefix=p
 $MAKE all
 $MAKE test-install
 $MAKE -k installcheck 2>stderr || : # Never trust the exit status of make -k.
index c97c4938bafd2ce484544060db131852c9a6cc71..d6c37e53ec752d49c6da5f310e367db8cfb0d238 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2002  Free Software Foundation, Inc.
+# Copyright (C) 2002, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -84,7 +84,7 @@ mkdir build
 cd build
 
 # Use --program-prefix to make sure the std-options check honors it.
-../configure --prefix=`pwd`/../inst-dir --program-prefix=p
+../configure "--prefix=`pwd`/../inst-dir" --program-prefix=p
 $MAKE
 $MAKE install
 $MAKE -k installcheck 2>stderr || : # Never trust the exit status of make -k.
index 0cd4de61b9f89a05e7ebfecd605d0af304890ed8..3353de75252b1561541fac7ae283d21e687429f5 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2002  Free Software Foundation, Inc.
+# Copyright (C) 2002, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -51,5 +51,5 @@ $AUTOCONF
 $AUTOMAKE
 # Use --srcdir with an absolute path because it's harder
 # to support in `distdir'.
-./configure --srcdir `pwd`
+./configure --srcdir "`pwd`"
 $MAKE test
index 217130a32dfd18ed8933e825beb87fdc32937152..e5e827671efb62793137078c1a65d794f983fa4f 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
+# Copyright (C) 2003, 2005, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -33,13 +33,13 @@ cat >Makefile.am <<'END'
 dist_bin_SCRIPTS = foo
 
 install-exec-hook:
-       cd $(DESTDIR)$(bindir) && \
+       cd "$(DESTDIR)$(bindir)" && \
        mv -f foo foo-$(VERSION) && \
        $(LN_S) foo-$(VERSION) foo
 
 installcheck-local:
-       test -f $(bindir)/foo
-       test -f $(bindir)/foo-$(VERSION)
+       test -f "$(bindir)/foo"
+       test -f "$(bindir)/foo-$(VERSION)"
        : > $(top_srcdir)/../ok
 END
 
@@ -59,7 +59,7 @@ test -f ok
 # second version will overwrite `foo'.   Hopefully `install' and `install-sh'
 # are smart enough to erase the `foo' symlink before installing the new
 # version.)
-./configure --bindir=`pwd`/bin
+./configure "--bindir=`pwd`/bin"
 $MAKE install
 echo 2 > foo
 VERSION=2.0 $MAKE -e install
index 345467acc6a53275f6709c1324d53ca370c40abd..5a1f3aa05ecc7a1c37cfc89c7f0df1eaf8de1a60 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 1998, 2001, 2002, 2004  Free Software Foundation, Inc.
+# Copyright (C) 1998, 2001, 2002, 2004, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -53,5 +53,5 @@ class b
 }
 EOF
 
-./configure --prefix `pwd`
+./configure --prefix "`pwd`"
 $MAKE distcheck
index 845e975e6866db6855c1aea45ee9725765b44787..563a1265f4907ee8d0fc727ed5f7991c9f0289b4 100755 (executable)
@@ -85,7 +85,7 @@ $ACLOCAL
 $AUTOCONF
 $AUTOMAKE --add-missing --copy
 
-./configure --prefix=`pwd`/_inst
+./configure "--prefix=`pwd`/_inst"
 env LIBTOOLFLAGS=--silent $MAKE print >output 2>&1
 cat output
 grep '1BEG: libmod1.la mod2.la :END1' output
index 7b3e8f9e11cbbf3f981fe2319219a3baaf3a312f..51c0b70bba26906a4ec99c7c7b90da63fafd0a25 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2003  Free Software Foundation, Inc.
+# Copyright (C) 2003, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -41,20 +41,20 @@ test:
        test ! -f elc-stamp
 
 install-test: install
-       test -f $(lispdir)/am-one.el
-       test -f $(lispdir)/am-two.el
-       test -f $(lispdir)/am-three.el
-       test ! -f $(lispdir)/am-one.elc
-       test ! -f $(lispdir)/am-two.elc
-       test ! -f $(lispdir)/am-three.elc
+       test -f "$(lispdir)/am-one.el"
+       test -f "$(lispdir)/am-two.el"
+       test -f "$(lispdir)/am-three.el"
+       test ! -f "$(lispdir)/am-one.elc"
+       test ! -f "$(lispdir)/am-two.elc"
+       test ! -f "$(lispdir)/am-three.elc"
 
 install-test2: install
-       test ! -f $(lispdir)/am-one.el
-       test ! -f $(lispdir)/am-two.el
-       test ! -f $(lispdir)/am-three.el
-       test ! -f $(lispdir)/am-one.elc
-       test ! -f $(lispdir)/am-two.elc
-       test ! -f $(lispdir)/am-three.elc
+       test ! -f "$(lispdir)/am-one.el"
+       test ! -f "$(lispdir)/am-two.el"
+       test ! -f "$(lispdir)/am-three.el"
+       test ! -f "$(lispdir)/am-one.elc"
+       test ! -f "$(lispdir)/am-two.elc"
+       test ! -f "$(lispdir)/am-three.elc"
 EOF
 
 cat >> configure.in << 'EOF'
index bfc39973cf8ffdb6dd682ee2c6756a50b97cec54..7584d62a9b9d4f0f8586df2f145391c7ed353cd8 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2003  Free Software Foundation, Inc.
+# Copyright (C) 2003, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -40,12 +40,12 @@ test:
        test ! -f elc-stamp
 
 install-test: install
-       test -f $(lispdir)/am-one.el
-       test -f $(lispdir)/am-two.el
-       test -f $(lispdir)/am-three.el
-       test ! -f $(lispdir)/am-one.elc
-       test ! -f $(lispdir)/am-two.elc
-       test ! -f $(lispdir)/am-three.elc
+       test -f "$(lispdir)/am-one.el"
+       test -f "$(lispdir)/am-two.el"
+       test -f "$(lispdir)/am-three.el"
+       test ! -f "$(lispdir)/am-one.elc"
+       test ! -f "$(lispdir)/am-two.elc"
+       test ! -f "$(lispdir)/am-three.elc"
 EOF
 
 cat >> configure.in << 'EOF'
index 1ccfed238fe79d97acfdf805767d0fb4ca9bc8f4..918345bb1d4c557a0be4eedcf64c49f89a4e5f91 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
+# Copyright (C) 2004, 2005, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -51,7 +51,7 @@ echo "(require 'am-one)" > am-three.el
 $ACLOCAL
 $AUTOCONF
 $AUTOMAKE --add-missing
-./configure --with-lispdir=`pwd`/lisp
+./configure "--with-lispdir=`pwd`/lisp"
 
 $MAKE
 test -f am-one.elc
@@ -76,7 +76,7 @@ test ! -f am-three.elc
 test ! -f elc-stamp
 
 
-./configure --with-lispdir=`pwd`/lisp want_two=1
+./configure "--with-lispdir=`pwd`/lisp" want_two=1
 $MAKE
 test -f am-one.elc
 test -f am-two.elc
index 6fe094ca5d0562cc9c6765091e19498ecaca1122..244fa980c623ed198ec81a0110cb1fad850efc10 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# Copyright (C) 2003, 2004  Free Software Foundation, Inc.
+# Copyright (C) 2003, 2004, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -69,7 +69,7 @@ $AUTOMAKE --add-missing
 # Install libraries in lib/, and the rest in empty/.
 # (in fact there is no "rest", so as the name imply empty/ is
 # expected to remain empty).
-./configure --prefix=`pwd`/empty --libdir=`pwd`/lib
+./configure "--prefix=`pwd`/empty" "--libdir=`pwd`/lib"
 
 $MAKE
 test -f lib1foo.la
index ac18c970b4ce13f8e6aacd9205f6b89ac0d61281..bc95924bd1a93fc98bd547988be5a15280bf7cd1 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# Copyright (C) 2003, 2004  Free Software Foundation, Inc.
+# Copyright (C) 2003, 2004, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -118,7 +118,7 @@ $AUTOMAKE --add-missing
 # Install libraries in lib/, programs in bin/, and the rest in empty/.
 # (in fact there is no "rest", so as the name imply empty/ is
 # expected to remain empty).
-./configure --prefix=`pwd`/empty --libdir=`pwd`/lib --bindir=`pwd`/bin
+./configure "--prefix=`pwd`/empty" "--libdir=`pwd`/lib" "--bindir=`pwd`/bin"
 
 $MAKE
 test -f libtop.la
index 8f104d2aa9e86d0bd5d5400f4274a2fe2eebd0e4..4bde8744548de271e9502546ee120c5478360923 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 1996, 1997, 2001, 2002, 2003  Free Software Foundation, Inc.
+# Copyright (C) 1996, 1997, 2001, 2002, 2003, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -36,7 +36,7 @@ END
 $ACLOCAL
 $AUTOCONF
 $AUTOMAKE
-./configure --prefix `pwd`/sub
+./configure --prefix "`pwd`/sub"
 
 $MAKE installdirs
 test ! -d sub/man
index 8f846ee513d02179c0096d9e7cbdf399527753d0..05dd6ee37cdac4540704e4b8ba5725666df36d20 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2003, 2004  Free Software Foundation, Inc.
+# Copyright (C) 2003, 2004, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -110,8 +110,8 @@ mkdir libbar/sub
 
 : > libbar/bar.c
 
-cp $testsrcdir/../lib/config-ml.in .
-cp $testsrcdir/../lib/symlink-tree .
+cp "$testsrcdir/../lib/config-ml.in" .
+cp "$testsrcdir/../lib/symlink-tree" .
 
 $ACLOCAL
 $AUTOCONF
index 9895c52b23b2f6b1bdd7d0fce8e4290060be16bc..7d38710075bd469f17500bbec70801a6f18a3005 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2001, 2002, 2004, 2005, 2006  Free Software Foundation, Inc.
+# Copyright (C) 2001, 2002, 2004, 2005, 2006, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -114,7 +114,7 @@ libtoolize
 $ACLOCAL
 $AUTOCONF
 $AUTOMAKE -a --copy
-./configure --prefix `pwd`/inst --program-prefix=p
+./configure --prefix "`pwd`/inst" --program-prefix=p
 
 $MAKE
 $MAKE test-install-data
@@ -131,7 +131,7 @@ $MAKE uninstall
 $MAKE distclean
 mkdir build
 cd build
-../configure --prefix `pwd`/inst --program-prefix=p
+../configure --prefix "`pwd`/inst" --program-prefix=p
 $MAKE
 $MAKE test-install-data
 $MAKE test-install-exec
index cbb71b16b35b662224ab5e2b8cd45847c55d116d..c92c06d2f61696138bde883d8b80e046e622da55 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2001, 2002  Free Software Foundation, Inc.
+# Copyright (C) 2001, 2002, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -38,5 +38,5 @@ set -e
 $ACLOCAL
 $AUTOCONF
 $AUTOMAKE -a
-./configure --prefix `pwd`/install
+./configure --prefix "`pwd`/install"
 $MAKE install-data
index ab6f59a7a5829e3feb9285f747fdebb62d334343..72ba3b4bec01b4c35b874859b65c81b0db21257f 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 1996, 2001, 2002  Free Software Foundation, Inc.
+# Copyright (C) 1996, 2001, 2002, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -27,7 +27,7 @@ AC_INIT
 END
 
 $PERL -ne '/AU_DEFUN\(\[(\w+)\]/ && print "$1\n"' \
-    $testsrcdir/../m4/obsolete.m4 >> obs
+    "$testsrcdir/../m4/obsolete.m4" >> obs
 cat obs >> configure.in
 $PERL -ne 'chomp; print "grep $_ stderr || exit 1\n"; ' obs > obs.1
 $PERL -ne 'chomp; print "grep $_ configure.in && exit 1\n"; ' obs > obs.2
index 7f0ac21e89514f702db4ef81f1aa3ef82a25dba4..794199ae35c66c7ee2ddbca77bdf07cda48ed84b 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2002  Free Software Foundation, Inc.
+# Copyright (C) 2002, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -49,6 +49,6 @@ mkdir install
 $ACLOCAL
 $AUTOCONF
 $AUTOMAKE -a
-./configure --prefix=`cd install && pwd`
+./configure "--prefix=`cd install && pwd`"
 $MAKE
 $MAKE distdir
index 821d766e39f7d99f02776b49de6b92388a37938d..beba7dc2d51ec84102a3c0f868f32d1d8af416bb 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2002  Free Software Foundation, Inc.
+# Copyright (C) 2002, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -50,7 +50,7 @@ END
 $ACLOCAL
 $AUTOCONF
 $AUTOMAKE --copy --add-missing
-./configure --prefix `pwd`/inst
+./configure --prefix "`pwd`/inst"
 $MAKE
 
 test -f subdir/liba.a
index 6e168cd5e6a2eb3b6b3d3191a1cfddc35dcfd78f..ad352a0632a7f63ddebf8a75d5d82f79615fc042 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2002  Free Software Foundation, Inc.
+# Copyright (C) 2002, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -51,7 +51,7 @@ libtoolize
 $ACLOCAL
 $AUTOCONF
 $AUTOMAKE --copy --add-missing
-./configure --prefix `pwd`/inst
+./configure --prefix "`pwd`/inst"
 $MAKE
 
 test -f subdir/liba.la
index 9841b07b1424e747a00d1a8d51c3ee8f734a02d2..57309c357757935dca6a58aaef84198b661362c4 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2002, 2003  Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -67,7 +67,7 @@ END
 $ACLOCAL
 $AUTOCONF
 $AUTOMAKE --copy --add-missing
-./configure --prefix `pwd`/inst
+./configure --prefix "`pwd`/inst"
 $MAKE test-all
 $MAKE test-install
 $MAKE test-uninstall
index f240bd0604c145333d2d35d33eadfcd2915d6813..ba83b82b295ce8f17fb398239ae972a7913c3076 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2004  Free Software Foundation, Inc.
+# Copyright (C) 2004, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -60,28 +60,28 @@ mkdir build
 cd build
 ../configure --prefix="$inst"
 $MAKE install
-test -f $inst/your/two.py
-test -f $inst/your/two.pyc
-test -f $inst/your/two.pyo
-test ! -f $inst/my/one.py
-test ! -f $inst/my/one.pyc
-test ! -f $inst/my/one.pyo
+test -f "$inst/your/two.py"
+test -f "$inst/your/two.pyc"
+test -f "$inst/your/two.pyo"
+test ! -f "$inst/my/one.py"
+test ! -f "$inst/my/one.pyc"
+test ! -f "$inst/my/one.pyo"
 $MAKE uninstall
-test ! -f $inst/your/two.py
-test ! -f $inst/your/two.pyc
-test ! -f $inst/your/two.pyo
+test ! -f "$inst/your/two.py"
+test ! -f "$inst/your/two.pyc"
+test ! -f "$inst/your/two.pyo"
 
 ../configure --prefix="$inst" one=1
 $MAKE install
-test ! -f $inst/your/two.py
-test ! -f $inst/your/two.pyc
-test ! -f $inst/your/two.pyo
-test -f $inst/my/one.py
-test -f $inst/my/one.pyc
-test -f $inst/my/one.pyo
+test ! -f "$inst/your/two.py"
+test ! -f "$inst/your/two.pyc"
+test ! -f "$inst/your/two.pyo"
+test -f "$inst/my/one.py"
+test -f "$inst/my/one.pyc"
+test -f "$inst/my/one.pyo"
 $MAKE uninstall
-test ! -f $inst/my/one.py
-test ! -f $inst/my/one.pyc
-test ! -f $inst/my/one.pyo
+test ! -f "$inst/my/one.py"
+test ! -f "$inst/my/one.pyc"
+test ! -f "$inst/my/one.pyo"
 
 $MAKE disttest
index e8df59bc76414d8a4ac51efb8634d59122119e1b..e03032419f70f5851c7a5c2a76ea317cb0cd69b0 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2002  Free Software Foundation, Inc.
+# Copyright (C) 2002, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -48,6 +48,6 @@ mkdir build
 cd build
 ../configure --prefix="$inst"
 $MAKE install
-test -f $inst/my/one.py
-test -f $inst/my/one.pyc
-test -f $inst/my/one.pyo
+test -f "$inst/my/one.py"
+test -f "$inst/my/one.pyc"
+test -f "$inst/my/one.pyo"
index 6a708cd503d91c88e4b9b3a4d2c17e56043ac323..05ee1e9b4c8e885360b566de7a28acbe4ea6890e 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2002  Free Software Foundation, Inc.
+# Copyright (C) 2002, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -49,6 +49,6 @@ mkdir install
 $ACLOCAL
 $AUTOCONF
 $AUTOMAKE -a
-./configure --prefix=`cd install && pwd`
+./configure "--prefix=`cd install && pwd`"
 $MAKE
 $MAKE install-strip
index a420dea49ba610dda26e58c2afc80fcee89a6832..ae7978b58fb3f0e5d626f9b7e2904e190cf0d9c0 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2002, 2003, 2004  Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003, 2004, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -56,7 +56,7 @@ $ACLOCAL
 $AUTOCONF
 $AUTOMAKE
 
-./configure --program-prefix=gnu- --prefix `pwd`/inst --mandir `pwd`/inst/man
+./configure --program-prefix=gnu- --prefix "`pwd`/inst" --mandir "`pwd`/inst/man"
 $MAKE
 $MAKE test-install
 $MAKE uninstall
index c7915155275af7b1bc24bc09a94fe35dbcfc3b9c..8e0f888a570d97064940150706f2d7512e74af0a 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2002, 2003, 2006  Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003, 2006, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -34,7 +34,7 @@ info_TEXINFOS = subdir/main.texi
 subdir_main_TEXINFOS = subdir/inc.texi
 
 installcheck-local:
-       test -f $(infodir)/main.info
+       test -f "$(infodir)/main.info"
 check-local:
        test ! -f $(srcdir)/subdir/main.info.bak
 END
index 2b9813d92ff0ff8b861bb3abb4f0ffb88e4de54f..4b45c511bced170d94447fa862623bd735846961 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2003  Free Software Foundation, Inc.
+# Copyright (C) 2003, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -44,7 +44,7 @@ $ACLOCAL
 $AUTOMAKE --add-missing
 $AUTOCONF
 
-./configure --infodir=`pwd`/_inst
+./configure "--infodir=`pwd`/_inst"
 $MAKE
 
 # Make sure .iNN files are installed.
index d7b29799cfee1cf654117fba661118ba07f08d77..8afc01edef8d79e8005f87803ea38bf49f55ad1a 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2003, 2004  Free Software Foundation, Inc.
+# Copyright (C) 2003, 2004, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -57,7 +57,7 @@ END
 
 mkdir aux1
 mkdir tex
-cp $testsrcdir/../lib/texinfo.tex tex
+cp "$testsrcdir/../lib/texinfo.tex" tex
 
 $ACLOCAL
 $AUTOMAKE --add-missing
index 3aa84faedfd2bd82cb654524d1fcfacadc8f6ebb..225960fa155c31c07438cdbb55208a6ad25913ae 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2002, 2003  Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -34,7 +34,7 @@ info_TEXINFOS = subdir/main.texi
 subdir_main_TEXINFOS = subdir/inc.texi
 
 installcheck-local:
-       test -f $(infodir)/main.info
+       test -f "$(infodir)/main.info"
 END
 
 mkdir subdir
index 86549b250da081055d65700444b4e505e170ec20..4d755890b225d8867616e7ec20ddb591e58afff5 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2003  Free Software Foundation, Inc.
+# Copyright (C) 2003, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -53,7 +53,7 @@ $MAKE
 $MAKE distclean
 mkdir build
 cd build
-../configure --srcdir=`pwd`/.. --prefix=`pwd`/_inst --infodir=`pwd`/_inst/info
+../configure "--srcdir=`pwd`/.." "--prefix=`pwd`/_inst" "--infodir=`pwd`/_inst/info"
 $MAKE install
 test -f ../main.info
 test ! -f ./main.info
index 3e3a6ef249690764e497a32895ba5c4a5dc239a7..0bc18b07c28b1f3a58d9d12976c13fc27d3d02e9 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2003  Free Software Foundation, Inc.
+# Copyright (C) 2003, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -47,6 +47,6 @@ $ACLOCAL
 $AUTOMAKE --add-missing
 $AUTOCONF
 
-./configure --prefix=`pwd`/inst --infodir=`pwd`/inst/info
+./configure "--prefix=`pwd`/inst" "--infodir=`pwd`/inst/info"
 $MAKE install-info
 test -f inst/info/main.info