1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-04-17 04:43:32 +02:00

Fix 'make dist'

This commit is contained in:
Kris Maglione
2009-11-01 19:23:25 -05:00
parent 9b32154909
commit 84da6102dc

View File

@@ -37,6 +37,7 @@ RDF_IN = $(RDF).in
BUILD_DIR = build.$(VERSION).$(OS) BUILD_DIR = build.$(VERSION).$(OS)
AWK = awk AWK = awk
CURL = curl
.SILENT: .SILENT:
@@ -84,12 +85,12 @@ dist: $(XPI)
labels="Project-$$proj,$(labels)"; \ labels="Project-$$proj,$(labels)"; \
[ -n "$(featured)" ] && labels="$$labels,Featured"; \ [ -n "$(featured)" ] && labels="$$labels,Featured"; \
\ \
IFS=,; for l in $$(echo $$labels); do \ IFS=,; for l in $$labels; do \
set -- "$$@" --form-string "label=$$l"; \ set -- "$$@" --form-string "label=$$l"; \
done; \ done; \
curl "$@" --form-string "summary=$$summary" \ $(CURL) "$$@" --form-string "summary=$$summary" \
-F "filename=<$(XPI)" \ -F "filename=@$(XPI)" \
-H "Authorization: $$(echo "$(GOOGLE_USER):$(GOOGLE_PASS)" | base64)" \ -H "Authorization: Basic $$(echo -n "$(GOOGLE_USER):$(GOOGLE_PASS)" | base64)" \
-i "$(GOOGLE)" | sed -n '/^Location/{p;q}' -i "$(GOOGLE)" | sed -n '/^Location/{p;q}'
$(RDF): $(RDF_IN) Makefile $(RDF): $(RDF_IN) Makefile