diff options
author | Thomas Graichen <graichen@cvs.openbsd.org> | 1997-07-14 14:16:12 +0000 |
---|---|---|
committer | Thomas Graichen <graichen@cvs.openbsd.org> | 1997-07-14 14:16:12 +0000 |
commit | dbb8ce06a8b4685295258e96413a264c7568c049 (patch) | |
tree | fc053799b4c69fa47e584a20ab0dc6476959085e | |
parent | 2af6eb3a46d103901c4bb1249735e6278c254434 (diff) |
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)
-rw-r--r-- | gnu/usr.sbin/e2fsprogs/configure | 8 |
1 files 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/'` |