summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmakedepend.SH8
1 files changed, 4 insertions, 4 deletions
diff --git a/makedepend.SH b/makedepend.SH
index d18138d773..0806021da8 100755
--- a/makedepend.SH
+++ b/makedepend.SH
@@ -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