- use $() instead of ``
authorChristos Zoulas <christos@zoulas.com>
Sat, 18 Jun 2011 18:48:30 +0000 (14:48 -0400)
committerChristos Zoulas <christos@zoulas.com>
Sat, 18 Jun 2011 18:48:30 +0000 (14:48 -0400)
- don't quote empty arguments, causes warnings from configure.

buildall

index 6268b89c9313c939c8fb9695f8b9b8cb476857a2..04899a080744d36c81fcbf491c4568ddb453bd39 100755 (executable)
--- a/buildall
+++ b/buildall
@@ -12,8 +12,8 @@
 # change to the right directory
 test -f ../config.guess && cd ..
 test -f ../../config.guess && cd ../..
-pwd=`pwd`
-host_alias=`(cd /tmp; $pwd/config.guess.long)`
+pwd=$(pwd)
+host_alias=$(cd /tmp; $pwd/config.guess.long)
 if test -z "$host_alias" ; then
        echo "$0: must run from the source or the A. directory."
        echo "$0: cannot find $pwd/config.guess"
@@ -336,8 +336,8 @@ if test -n "$cnf_cmd"; then
        echo $cnf_cmd $cmdline_cnf_flags
        $cnf_cmd $cmdline_cnf_flags || exit 1
     else
-       echo $cnf_cmd "$cnf_flags" "$extra_cnf_flags" $cmdline_cnf_flags
-       $cnf_cmd "$cnf_flags" "$extra_cnf_flags" $cmdline_cnf_flags || exit 1
+       echo $cnf_cmd $cnf_flags $extra_cnf_flags $cmdline_cnf_flags
+       $cnf_cmd $cnf_flags $extra_cnf_flags $cmdline_cnf_flags || exit 1
     fi
 else
     :