From 2b77ed867568eaacb64b2e338ace51b8d96ec130 Mon Sep 17 00:00:00 2001 From: bitblt Date: Mon, 30 Sep 1996 16:42:18 +0000 Subject: lorder now cleans up its temp directory after a failure. --- usr.bin/lorder/lorder.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/lorder/lorder.sh b/usr.bin/lorder/lorder.sh index 329fb841652..21668d5e696 100644 --- a/usr.bin/lorder/lorder.sh +++ b/usr.bin/lorder/lorder.sh @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: lorder.sh,v 1.3 1996/09/16 01:16:27 deraadt Exp $ +# $OpenBSD: lorder.sh,v 1.4 1996/09/30 16:42:17 bitblt Exp $ # $NetBSD: lorder.sh,v 1.3 1995/04/24 07:38:52 cgd Exp $ # # Copyright (c) 1990, 1993 @@ -63,7 +63,7 @@ fi umask $um # remove temporary files on HUP, INT, QUIT, PIPE, TERM -trap "rm -f $R $S; exit 1" 1 2 3 13 15 +trap "rm rf $TDIR; exit 1" 1 2 3 13 15 # if the line ends in a colon, assume it's the first occurrence of a new # object file. Echo it twice, just to make sure it gets into the output. -- cgit v1.2.3