mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-12 19:25:45 +01:00
Fix 'make dist'
This commit is contained in:
@@ -36,7 +36,8 @@ 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
|
||||||
|
|||||||
Reference in New Issue
Block a user