This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
The section needs to be in the makedepend script
authorJarkko Hietaniemi <jhi@iki.fi>
Fri, 15 Mar 2002 04:49:10 +0000 (04:49 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Fri, 15 Mar 2002 04:49:10 +0000 (04:49 +0000)
(from Jan-Erik Karlsson).

p4raw-id: //depot/perl@15231

makedepend.SH

index d18138d..0806021 100755 (executable)
@@ -18,10 +18,6 @@ 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!
@@ -62,6 +58,10 @@ esac
 PATH=".$path_sep..$path_sep$PATH"
 export PATH
 
+case "$osname" in
+amigaos) cat=/bin/cat ;; # must be absolute
+esac
+
 $cat /dev/null >.deptmp
 $rm -f *.c.c c/*.c.c
 if test -f Makefile; then