aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-09-19 18:09:30 +0800
committerpeter <peter@FreeBSD.org>1999-09-19 18:09:30 +0800
commit65cf523cffd2b354443d59396826de16d81535fb (patch)
treed0864efdd7ac07e0109c63e12a4527dc71a67539
parent9dc8318c0cd63b7bc1154dd06a64a2646ed323b2 (diff)
downloadfreebsd-ports-gnome-65cf523cffd2b354443d59396826de16d81535fb.tar.gz
freebsd-ports-gnome-65cf523cffd2b354443d59396826de16d81535fb.tar.zst
freebsd-ports-gnome-65cf523cffd2b354443d59396826de16d81535fb.zip
if we're stopping a commit, make sure the lastdir file (possibly left from
a run in a previous directory) is cleaned up.
-rwxr-xr-xCVSROOT/commit_prep.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/CVSROOT/commit_prep.pl b/CVSROOT/commit_prep.pl
index e7b785442b49..2fe26e4dafc5 100755
--- a/CVSROOT/commit_prep.pl
+++ b/CVSROOT/commit_prep.pl
@@ -224,6 +224,7 @@ if ($check_id != 0) {
}
if ($failed) {
print "\n";
+ unlink("$LAST_FILE.$id");
exit(1);
}
}