This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
makedepend.SH patch for AmigaOS from Jan-Erik Karlsson;
authorJarkko Hietaniemi <jhi@iki.fi>
Tue, 24 Apr 2001 23:49:20 +0000 (23:49 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Tue, 24 Apr 2001 23:49:20 +0000 (23:49 +0000)
the $cat must have an absolute path.

p4raw-id: //depot/perl@9827

makedepend.SH

index 7f8a108..579be0b 100755 (executable)
@@ -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!