[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 9bbc3351033ea22a0824d60de136b100c99524e5
Author: David Fifield <david@xxxxxxxxxxxxxxx>
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
 

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits