aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortbell <none@none>2013-04-09 13:05:22 -0700
committertbell <none@none>2013-04-09 13:05:22 -0700
commitb06910fba73c92e91945f0b44a715f510c342d54 (patch)
tree9204bf97941112b830542f16b40861be3ab7efd5
parent72756c0956aedc879213a1a08de8ba08b6ece73b (diff)
8011348: use of which in common/autoconf/autogen.sh is not portable
Reviewed-by: erikj, katleman, mduigou
-rw-r--r--common/autoconf/autogen.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/autoconf/autogen.sh b/common/autoconf/autogen.sh
index 6df1f55..35ed2a5 100644
--- a/common/autoconf/autogen.sh
+++ b/common/autoconf/autogen.sh
@@ -43,8 +43,8 @@ fi
custom_hook=$custom_script_dir/custom-hook.m4
-AUTOCONF=$(which autoconf 2> /dev/null);
-AUTOCONF_267=$(which autoconf-2.67 2> /dev/null);
+AUTOCONF="`which autoconf 2> /dev/null | grep -v '^no autoconf in'`"
+AUTOCONF_267="`which autoconf-2.67 2> /dev/null | grep -v '^no autoconf-2.67 in'`"
echo "Autoconf found: ${AUTOCONF}"
echo "Autoconf-2.67 found: ${AUTOCONF_267}"