aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/sfx.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/sfx.mk b/plugins/sfx.mk
index ab9761c..2ea4934 100644
--- a/plugins/sfx.mk
+++ b/plugins/sfx.mk
@@ -38,8 +38,10 @@ endef
sfx:
$(call render_template,sfx_stub,$(SFX_OUTPUT))
- $(gen_verbose) tar -C $(RELX_OUTPUT_DIR) -czO $(RELX_RELEASE) >> $(SFX_OUTPUT)
+ $(gen_verbose) tar -C $(RELX_OUTPUT_DIR) -czf $(RELX_OUTPUT_DIR)/$(RELX_RELEASE).tgz $(RELX_RELEASE)
+ $(verbose) cat $(RELX_OUTPUT_DIR)/$(RELX_RELEASE).tgz >> $(SFX_OUTPUT)
$(verbose) chmod +x $(SFX_OUTPUT)
+ $(verbose) rm $(RELX_OUTPUT_DIR)/$(RELX_RELEASE).tgz
endif
endif