]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Quote $src. Prefer || to test's -o option, as per "Limitations of
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 27 Jun 2002 07:47:55 +0000 (07:47 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 27 Jun 2002 07:47:55 +0000 (07:47 +0000)
Builtins".

config/install-sh

index 398a88e1421823561abbf2d48ca8f263babc04d9..11870f1b0192aa3f321bc3a82552d27f0aa2352d 100755 (executable)
@@ -128,7 +128,7 @@ else
 # might cause directories to be created, which would be especially bad 
 # if $src (and thus $dsttmp) contains '*'.
 
-       if [ -f $src -o -d $src ]
+       if [ -f "$src" ] || [ -d "$src" ]
        then
                :
        else