Skip to content

Commit a2efa25

Browse files
committed
Update Makefile
1 parent e54bdf4 commit a2efa25

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

Makefile

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -109,17 +109,17 @@ serve:
109109

110110
.PHONY: progress
111111
progress:
112-
ifeq ($(file),)
113-
@echo "No file specified, showing total progress"; \
114-
@$(PYTHON) -c 'import sys; print("{:.1%}".format(int(sys.argv[1]) / int(sys.argv[2])))' \
115-
$(shell msgcat *.po */*.po | msgattrib --translated | grep -c '^msgid') \
116-
$(shell msgcat *.po */*.po | grep -c '^msgid')
117-
118-
else
119-
@$(PYTHON) -c 'import sys; print("{:.1%}".format(int(sys.argv[1]) / int(sys.argv[2])))' \
120-
$(shell msgcat $(file) | msgattrib --translated | grep -c '^msgid') \
121-
$(shell msgcat $(file) | grep -c '^msgid')
122-
endif
112+
ifeq ($(file),)
113+
@echo ("No file specified, showing total progress"; \
114+
@$(PYTHON) -c 'import sys; print("{:.1%}".format(int(sys.argv[1]) / int(sys.argv[2])))' \
115+
$(shell msgcat *.po */*.po | msgattrib --translated | grep -c '^msgid') \
116+
$(shell msgcat *.po */*.po | grep -c '^msgid')
117+
118+
else
119+
@$(PYTHON) -c 'import sys; print("{:.1%}".format(int(sys.argv[1]) / int(sys.argv[2])))' \
120+
$(shell msgcat $(file) | msgattrib --translated | grep -c '^msgid') \
121+
$(shell msgcat $(file) | grep -c '^msgid')
122+
endif
123123

124124

125125
.PHONY: todo

0 commit comments

Comments
 (0)