File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 82
82
@git diff -I' ^"POT-Creation-Date: ' --numstat * .po ** /* .po \
83
83
| cut -f3 | xargs -r git add
84
84
@git add $(git ls-files -o --exclude-standard *.po **/*.po ) .tx/config
85
- @if [[ $( git diff --name-only --cached) != " " ] ]; then
85
+ @if [ -n " $( git diff --name-only --cached) " ]; then
86
86
git commit -m $(MSG )
87
87
git push
88
88
else
@@ -249,7 +249,7 @@ $(BUGFIXBRANCH) $(OLDERBRANCHES):
249
249
$(VENV_DIR ) /bin/pomerge $(OVERWRITEFLAG ) --to-files * .po ** /* .po; \
250
250
$(VENV_DIR ) /bin/powrap --modified * .po ** /* .po; \
251
251
git add -u; \
252
- if [[ $( git diff --name-only --cached) != " " ] ]; then \
252
+ if [ -n " $( git diff --name-only --cached) " ]; then \
253
253
git commit -m $(MSG ) ; \
254
254
git push; \
255
255
else \
You can’t perform that action at this time.
0 commit comments