Fallabck on full scan if branch is not found.

This commit is contained in:
Julien Palard 2023-03-28 11:40:06 +02:00
parent 52fcc27bd4
commit 712a2f6738
Signed by: mdk
GPG Key ID: 0EFC1AC1006886F8
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ wrap: ensure_test_prerequisites
@echo "Re wrapping modified files"
powrap -m
SRCS = $(shell git diff --name-only $(BRANCH) | grep '.po$$')
SRCS = $(shell git diff --name-only $(BRANCH) 2>/dev/null | grep '.po$$' || echo *.po */*.po)
# foo/bar.po => $(POSPELL_TMP_DIR)/foo/bar.po.out
DESTS = $(addprefix $(POSPELL_TMP_DIR)/,$(addsuffix .out,$(SRCS)))