summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorbitblt <bitblt@cvs.openbsd.org>1996-09-30 16:55:21 +0000
committerbitblt <bitblt@cvs.openbsd.org>1996-09-30 16:55:21 +0000
commit5b3b93c5f5c9189907f3d9d51c804b9ada981d17 (patch)
tree6c9c1d468ba860d763c56fd61db8d56877ddb5fe /usr.bin
parent2b77ed867568eaacb64b2e338ace51b8d96ec130 (diff)
these scripts now always clean up their temporary directories.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mkdep/mkdep.gcc.sh6
-rw-r--r--usr.bin/mkdep/mkdep.sh8
2 files changed, 12 insertions, 2 deletions
diff --git a/usr.bin/mkdep/mkdep.gcc.sh b/usr.bin/mkdep/mkdep.gcc.sh
index 21149f6e726..67b2c472883 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.3 1996/09/16 01:20:02 deraadt Exp $
+# $OpenBSD: mkdep.gcc.sh,v 1.4 1996/09/30 16:55:20 bitblt Exp $
# $NetBSD: mkdep.gcc.sh,v 1.9 1994/12/23 07:34:59 jtc Exp $
#
# Copyright (c) 1991, 1993
@@ -100,5 +100,9 @@ if [ $append = 1 ]; then
rm -rf $DTMP
else
mv $TMP $D
+ rm -rf $DTMP
fi
exit 0
+
+
+
diff --git a/usr.bin/mkdep/mkdep.sh b/usr.bin/mkdep/mkdep.sh
index 302d5310be6..be303b0a8be 100644
--- a/usr.bin/mkdep/mkdep.sh
+++ b/usr.bin/mkdep/mkdep.sh
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: mkdep.sh,v 1.3 1996/09/16 01:20:03 deraadt Exp $
+# $OpenBSD: mkdep.sh,v 1.4 1996/09/30 16:55:19 bitblt Exp $
# $NetBSD: mkdep.sh,v 1.3 1994/12/23 07:35:02 jtc Exp $
#
# Copyright (c) 1991, 1993
@@ -118,5 +118,11 @@ if [ $append = 1 ]; then
rm -rf $DTMP
else
mv $TMP $D
+ rm -rf $DTMP
fi
+
exit 0
+
+
+
+