1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-05 00:55:49 +01:00

Cleanup liberator.open a bit; could probably use a bit more.

This commit is contained in:
Kris Maglione
2009-10-31 17:28:35 -04:00
parent 83ef6a7a93
commit d880d4afcb
5 changed files with 26 additions and 22 deletions

View File

@@ -78,13 +78,12 @@ release: $(XPI) $(RDF)
# This is not for you!
dist: $(XPI)
@echo DIST $(XPI) $(GOOGLE)
[ -n "$(featured)" ] && labels="$$labels,Featured"; \
proj=$$(echo -n $(NAME) | sed 's/\(.\).*/\1/' | tr a-z A-Z); \
proj="$$proj$$(echo $(NAME) | sed 's/.//')"; \
[ -z "$$summary" ] && summary="$$proj $(VERSION) Release"; \
labels="Project-$$proj,$(labels)"; \
[ -n "$(featured)" ] && labels="$$labels,Featured"; \
\
labels=$$(echo -n "$$labels,Project-$$proj" | sed 's/^,*//g'); \
\
IFS=,; for l in $$(echo $$labels); do \
set -- "$$@" --form-string "label=$$l"; \
done; \