diff --git a/contrib/debian/rules b/contrib/debian/rules index 8ee5e79b7..52aa76d90 100755 --- a/contrib/debian/rules +++ b/contrib/debian/rules @@ -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