diff options
author | David Leonard <d@cvs.openbsd.org> | 2000-02-10 11:39:49 +0000 |
---|---|---|
committer | David Leonard <d@cvs.openbsd.org> | 2000-02-10 11:39:49 +0000 |
commit | 9b132d8ab6ef54f7cd9a336ba0b935f9d1365693 (patch) | |
tree | 3b24416e77c8582203c305433f4e99257e8e83e1 /usr.bin | |
parent | 287eae7b66f63370c31d4b16706e7e27d0bcce5c (diff) |
make mkdep -p work with newer gcc. okayed a very long time ago by fries@ (do you remember, todd?) actually uses todd's relaxed regex
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/mkdep/mkdep.gcc.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mkdep/mkdep.gcc.sh b/usr.bin/mkdep/mkdep.gcc.sh index 05b3aa14b52..67572337a25 100644 --- a/usr.bin/mkdep/mkdep.gcc.sh +++ b/usr.bin/mkdep/mkdep.gcc.sh @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: mkdep.gcc.sh,v 1.8 1998/09/02 06:40:07 deraadt Exp $ +# $OpenBSD: mkdep.gcc.sh,v 1.9 2000/02/10 11:39:48 d Exp $ # $NetBSD: mkdep.gcc.sh,v 1.9 1994/12/23 07:34:59 jtc Exp $ # # Copyright (c) 1991, 1993 @@ -84,7 +84,7 @@ trap 'rm -rf $DTMP ; trap 2 ; kill -2 $$' 1 2 3 13 15 if [ x$pflag = x ]; then ${CC:-cc} -M "$@" | sed -e 's; \./; ;g' > $TMP else - ${CC:-cc} -M "$@" | sed -e 's;\.o :; :;' -e 's; \./; ;g' > $TMP + ${CC:-cc} -M "$@" | sed -e 's;\.o[ ]*:; :;' -e 's; \./; ;g' > $TMP fi if [ $? != 0 ]; then |