From: Jarkko Hietaniemi Date: Tue, 24 Apr 2001 23:49:20 +0000 (+0000) Subject: makedepend.SH patch for AmigaOS from Jan-Erik Karlsson; X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=dbf49cb098a5781302cf9cf4ca4e241115e64837;p=p5sagit%2Fp5-mst-13.2.git makedepend.SH patch for AmigaOS from Jan-Erik Karlsson; the $cat must have an absolute path. p4raw-id: //depot/perl@9827 --- diff --git a/makedepend.SH b/makedepend.SH index 7f8a108..579be0b 100755 --- a/makedepend.SH +++ b/makedepend.SH @@ -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 <