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
This commit is contained in:
rgrimes 1994-10-03 23:01:03 +00:00
parent 76d4e6509f
commit 2016927120

View File

@ -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