diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1994-10-03 23:01:03 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1994-10-03 23:01:03 +0000 |
commit | 979aa4d0404039a8d3ca40da4c9443c823aecbb0 (patch) | |
tree | 9235635beffacfa122ce13b0742fd9928900afdf /usr.bin/mkdep/mkdep.gcc.sh | |
parent | 37190acca04c44f4a48b7aad9f09fd818fbd0658 (diff) | |
download | FreeBSD-src-979aa4d0404039a8d3ca40da4c9443c823aecbb0.zip FreeBSD-src-979aa4d0404039a8d3ca40da4c9443c823aecbb0.tar.gz |
Fix -p option sed script so that it really does change program.o: into
program:. There where extra spaces our gcc does not emit causing problems.
Obtained from: FreeBSD 1.1.5.1
Diffstat (limited to 'usr.bin/mkdep/mkdep.gcc.sh')
-rw-r--r-- | usr.bin/mkdep/mkdep.gcc.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/mkdep/mkdep.gcc.sh b/usr.bin/mkdep/mkdep.gcc.sh index 59e4e47..8cba090 100644 --- a/usr.bin/mkdep/mkdep.gcc.sh +++ b/usr.bin/mkdep/mkdep.gcc.sh @@ -80,7 +80,7 @@ MKDEP_CPP=${MKDEP_CPP-"cc -E"} if [ x$pflag = x ]; then $MKDEP_CPP -M $* | sed -e 's; \./; ;g' > $TMP else - $MKDEP_CPP -M $* | sed -e 's;\.o :; :;' -e 's; \./; ;g' > $TMP + $MKDEP_CPP -M $* | sed -e 's;\.o:;:;' -e 's; \./; ;g' > $TMP fi if [ $? != 0 ]; then |