From: Paul Eggert Date: Thu, 27 Jun 2002 07:47:55 +0000 (+0000) Subject: Quote $src. Prefer || to test's -o option, as per "Limitations of X-Git-Tag: AUTOCONF-2.53b~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3a4ebb4a096cfc8ec6b437a658d4da4faa59894;p=thirdparty%2Fautoconf.git Quote $src. Prefer || to test's -o option, as per "Limitations of Builtins". --- diff --git a/config/install-sh b/config/install-sh index 398a88e14..11870f1b0 100755 --- a/config/install-sh +++ b/config/install-sh @@ -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