Fixed 'mkdep -p' to work
authorNate Willams <nate@FreeBSD.org>
Sat, 23 Oct 1993 08:29:50 +0000 (08:29 +0000)
committerNate Willams <nate@FreeBSD.org>
Sat, 23 Oct 1993 08:29:50 +0000 (08:29 +0000)
usr.bin/mkdep/mkdep.gcc.sh

index 94cc976..aea488c 100644 (file)
@@ -71,7 +71,7 @@ TMP=/tmp/mkdep$$
 
 trap 'rm -f $TMP ; exit 1' 1 2 3 13 15
 
 
 trap 'rm -f $TMP ; exit 1' 1 2 3 13 15
 
-cpp -M $* > $TMP
+cpp -M $* | sed "$SED" > $TMP
 
 if [ $? != 0 ]; then
        echo 'mkdep: compile failed.'
 
 if [ $? != 0 ]; then
        echo 'mkdep: compile failed.'