From dbb8ce06a8b4685295258e96413a264c7568c049 Mon Sep 17 00:00:00 2001 From: Thomas Graichen Date: Mon, 14 Jul 1997 14:16:12 +0000 Subject: how many of those (in my opinion) broken configure scripts are there around ? ... also here some subscripts were called without preceding the calls with a shell (and thus assuming their executability) --- gnu/usr.sbin/e2fsprogs/configure | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gnu/usr.sbin/e2fsprogs/configure b/gnu/usr.sbin/e2fsprogs/configure index f961e5154a1..9b251a7fabf 100644 --- a/gnu/usr.sbin/e2fsprogs/configure +++ b/gnu/usr.sbin/e2fsprogs/configure @@ -606,7 +606,7 @@ ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. # Make sure we can run config.sub. -if $ac_config_sub sun4 >/dev/null 2>&1; then : +if /bin/sh $ac_config_sub sun4 >/dev/null 2>&1; then : else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } fi @@ -618,14 +618,14 @@ case "$host_alias" in NONE) case $nonopt in NONE) - if host_alias=`$ac_config_guess`; then : + if host_alias=`/bin/sh $ac_config_guess`; then : else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } fi ;; *) host_alias=$nonopt ;; esac ;; esac -host=`$ac_config_sub $host_alias` +host=`/bin/sh $ac_config_sub $host_alias` host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` @@ -1178,7 +1178,7 @@ NONE) esac ;; esac -build=`$ac_config_sub $build_alias` +build=`/bin/sh $ac_config_sub $build_alias` build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` -- cgit v1.2.3