From: Christos Zoulas Date: Sat, 18 Jun 2011 18:48:30 +0000 (-0400) Subject: - use $() instead of `` X-Git-Url: https://git.fsl.cs.stonybrook.edu/?a=commitdiff_plain;h=0fbefbcb11ec82cc7f3386acb895b44c4e71eec9;p=am-utils-6.2.git - use $() instead of `` - don't quote empty arguments, causes warnings from configure. --- diff --git a/buildall b/buildall index 6268b89c..04899a08 100755 --- 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 :