From 5b3b93c5f5c9189907f3d9d51c804b9ada981d17 Mon Sep 17 00:00:00 2001 From: bitblt Date: Mon, 30 Sep 1996 16:55:21 +0000 Subject: these scripts now always clean up their temporary directories. --- usr.bin/mkdep/mkdep.gcc.sh | 6 +++++- usr.bin/mkdep/mkdep.sh | 8 +++++++- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'usr.bin') 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 + + + + -- cgit v1.2.3