debian: Add quotes around glob

This commit is contained in:
Jessica Clarke 2020-11-16 04:59:14 +00:00 committed by Mario Limonciello
parent 99c37df81c
commit 646f23edd5

View File

@ -84,7 +84,7 @@ ifeq (debian,$(SB_STYLE))
cp debian/README.Debian $(TMPLDIR)/source-template/debian
find $(TMPLDIR)/source-template/debian -type f | xargs sed -i "s,SIGNARCH,$(DEB_HOST_ARCH),"
find $(TMPLDIR)/source-template/debian -type f | xargs sed -i "s,SIGNVERSION,$(deb_version),"
set -e; for file in $$(find $(TMPLDIR)/source-template/debian -type f -name *SIGNARCH*); do \
set -e; for file in $$(find $(TMPLDIR)/source-template/debian -type f -name '*SIGNARCH*'); do \
file1=$$(echo $$file | sed "s,SIGNARCH,$(DEB_HOST_ARCH),"); \
mv -v $$file $$file1; \
done