mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-05 23:19:50 +00:00
debian: Fix dangerous lack of set -e
Also split the long line whilst here.
This commit is contained in:
parent
8218923985
commit
474e4135e8
@ -84,7 +84,10 @@ 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),"
|
||||
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
|
||||
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
|
||||
install -m 0755 debian/fwupd.postinst $(TMPLDIR)/source-template/debian/fwupd-$(DEB_HOST_ARCH)-signed.postinst
|
||||
install -m 0755 debian/fwupd.postrm $(TMPLDIR)/source-template/debian/fwupd-$(DEB_HOST_ARCH)-signed.postrm
|
||||
./debian/gen_signing_changelog $(TMPLDIR)/source-template/debian fwupd $(DEB_HOST_ARCH)
|
||||
|
Loading…
Reference in New Issue
Block a user