summaryrefslogtreecommitdiff
path: root/usr.bin/mkdep/mkdep.sh
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-01-25 14:27:46 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-01-25 14:27:46 +0000
commit91f9bb6d87d203ce7eede6cd49aa8a9d96e40281 (patch)
tree2f10edfb93e75149f504fb5316f8a7269e730c78 /usr.bin/mkdep/mkdep.sh
parent3ced980c4ef0676e3badfcb2f35d7253176d2a66 (diff)
Use ${CC:-cc} instead of cc
Diffstat (limited to 'usr.bin/mkdep/mkdep.sh')
-rw-r--r--usr.bin/mkdep/mkdep.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mkdep/mkdep.sh b/usr.bin/mkdep/mkdep.sh
index 0536c8aa2fc..488c4ecb841 100644
--- a/usr.bin/mkdep/mkdep.sh
+++ b/usr.bin/mkdep/mkdep.sh
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: mkdep.sh,v 1.5 1997/01/25 08:47:58 deraadt Exp $
+# $OpenBSD: mkdep.sh,v 1.6 1997/01/25 14:27:44 niklas Exp $
# $NetBSD: mkdep.sh,v 1.3 1994/12/23 07:35:02 jtc Exp $
#
# Copyright (c) 1991, 1993
@@ -79,7 +79,7 @@ fi
umask $um
trap 'rm -rf $DTMP ; exit 1' 1 2 3 13 15
-cc -M $* |
+${CC:-cc} -M $* |
sed "
s; \./; ;g
/\.c:$/d