From: Perl 5 Porters Date: Mon, 19 Aug 1996 00:36:12 +0000 (+0000) Subject: Use Configure's $sh and $make_set_make variables. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6b9d15cba3c162e0aa500272b606d30bdf58a929;p=p5sagit%2Fp5-mst-13.2.git Use Configure's $sh and $make_set_make variables. --- diff --git a/makedepend.SH b/makedepend.SH index 93ab261..81d49db 100755 --- a/makedepend.SH +++ b/makedepend.SH @@ -18,16 +18,13 @@ case "$0" in */*) cd `expr X$0 : 'X\(.*\)/'` ;; esac -: ${bin_sh=/bin/sh} - echo "Extracting makedepend (with variable substitutions)" rm -f makedepend $spitshell >makedepend <>makedepend <<'!NO!SUBS!' @@ -135,7 +132,7 @@ rm .shlist.old if $test -s .deptmp; then for file in `cat .shlist`; do $echo `$expr X$file : 'X\(.*\).SH'`: $file $TOP/config.sh \; \ - $bin_sh $file >> .deptmp + $sh $file >> .deptmp done $echo "Updating $mf..." $echo "# If this runs make out of memory, delete /usr/include lines." \ @@ -162,7 +159,7 @@ else $sed -f .hsed >> $mf.new for file in `$cat .shlist`; do $echo `$expr X$file : 'X\(.*\).SH'`: $file $TOP/config.sh \; \ - $bin_sh $file >> $mf.new + $sh $file >> $mf.new done fi $rm -f $mf.old