summaryrefslogtreecommitdiff
path: root/makedepend.SH
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-04-24 23:49:20 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-04-24 23:49:20 +0000
commitdbf49cb098a5781302cf9cf4ca4e241115e64837 (patch)
treeac3a33698d964fd5a487e81cb4c661ba555b9736 /makedepend.SH
parent174d7f1323b7316939c8c29ddf419c22b9c7155c (diff)
downloadperl-dbf49cb098a5781302cf9cf4ca4e241115e64837.tar.gz
makedepend.SH patch for AmigaOS from Jan-Erik Karlsson;
the $cat must have an absolute path. p4raw-id: //depot/perl@9827
Diffstat (limited to 'makedepend.SH')
-rwxr-xr-xmakedepend.SH4
1 files changed, 4 insertions, 0 deletions
diff --git a/makedepend.SH b/makedepend.SH
index 7f8a108e3b..579be0b748 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 <<!GROK!THIS!