X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=makedepend.SH;h=ec217954296eb143f1849aa19c86e46ff9dbef98;hb=974c90c5029395da8217586c87921d37914f57c1;hp=9a6f4c19a61915c2fc4b25c82c012eb99cfc8c3d;hpb=ceda4f9bd200878375d13c58d9a0b95f9d15724b;p=p5sagit%2Fp5-mst-13.2.git diff --git a/makedepend.SH b/makedepend.SH index 9a6f4c1..ec21795 100755 --- a/makedepend.SH +++ b/makedepend.SH @@ -1,5 +1,5 @@ #! /bin/sh -case $CONFIGDOTSH in +case $PERL_CONFIG_SH in '') if test -f config.sh; then TOP=.; elif test -f ../config.sh; then TOP=..; @@ -18,6 +18,10 @@ case "$0" in */*) cd `expr X$0 : 'X\(.*\)/'` ;; esac +case "$osname" in +amigaos) cat=/bin/cat ;; # must be absolute +esac + echo "Extracting makedepend (with variable substitutions)" rm -f makedepend $spitshell >makedepend <