[tor-commits] [flashproxy/master] Remove any existing old signature before signing.

dcf at torproject.org dcf at torproject.org
Mon Jul 23 16:07:07 UTC 2012


commit 9bbc3351033ea22a0824d60de136b100c99524e5
Author: David Fifield <david at bamsoftware.com>
Date:   Mon Jul 23 08:49:58 2012 -0700

    Remove any existing old signature before signing.
    
    This avoids the interactive error message
    File `flashproxy-client-0.3.zip.asc' exists. Overwrite? (y/N)
---
 Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index 584094c..8c6cbfe 100644
--- a/Makefile
+++ b/Makefile
@@ -32,6 +32,7 @@ dist/$(DISTNAME).zip: $(CLIENT_DIST_FILES)
 	$(MAKE) dist
 
 sign: dist/$(DISTNAME).zip
+	rm -f dist/$(DISTNAME).zip.asc
 	cd dist && gpg --sign --detach-sign --armor $(DISTNAME).zip
 	cd dist && gpg --verify $(DISTNAME).zip.asc $(DISTNAME).zip
 



More information about the tor-commits mailing list