--- a/Makefile.linux
+++ b/Makefile.linux
@@ -24,6 +24,8 @@
 
 GPG := /usr/bin/gpg
 GPG_SIGN := $(GPG) --detach-sign --default-key $(GPG_KEY)
+SIGN_CMD := $(foreach file, $(wildcard $(RELEASEDIR)/*$(RELEASENAME)*), $(GPG_SIGN) $(file); )
+
 SHA1SUM := /usr/bin/sha1sum
 UPLOAD_CMD := /usr/bin/rsync -avP -e ssh
 UPLOAD_DST := $(UPLOAD_ROOT)/Linux-BETA/$(RELEASENUM)
@@ -85,8 +87,7 @@
 	(cd $(RELEASEDIR); $(SHA1SUM) *$(RELEASENAME)*)
 
 signatures:
-	CMD := $(foreach file, $(wildcard $(RELEASEDIR)/*$(RELEASENAME)*), $(GPG_SIGN) $(file); )
-	$(CMD)
+	$(SIGN_CMD)
 
 upload:
 	$(UPLOAD_CMD) \