Skip to content
Browse files

[build-emacs-from-bzr] Remove the Changes file if the build fails.

  • Loading branch information...
1 parent 534afb5 commit 5d8ef913c7eea6ef4fe925b93be38f8432de3aad @caldwell committed Mar 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 build-emacs-from-bzr
View
2 build-emacs-from-bzr
@@ -25,4 +25,4 @@ NEWREV=$(bzr revno $REPO)
DIR=emacs-bzr/build-`date +%F`
bzr checkout --lightweight --hardlink emacs-bzr/trunk "$DIR"
-build_emacs "$DIR" $BASE-$NEWREV
+build_emacs "$DIR" $BASE-$NEWREV || rm -f "$CHANGES"

0 comments on commit 5d8ef91

Please sign in to comment.
Something went wrong with that request. Please try again.