remove $$arch() from rpm target in Makefile

master
pallotron 2017-03-30 05:53:36 -07:00
parent f0bfada399
commit a99bbe8fa8
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ rpm: dracut-$(VERSION).tar.xz syncheck
rpmbuild --define "_topdir $$PWD" --define "_sourcedir $$PWD" \
--define "_specdir $$PWD" --define "_srcrpmdir $$PWD" \
--define "_rpmdir $$PWD" -ba dracut.spec; ) && \
( mv "$$rpmbuild"/$$(arch)/*.rpm $(DESTDIR).; mv "$$rpmbuild"/*.src.rpm $(DESTDIR).;rm -fr -- "$$rpmbuild"; ls $(DESTDIR)*.rpm )
( mv "$$rpmbuild"/*.rpm $(DESTDIR).; mv "$$rpmbuild"/*.src.rpm $(DESTDIR).;rm -fr -- "$$rpmbuild"; ls $(DESTDIR)*.rpm )

syncheck:
@ret=0;for i in dracut-initramfs-restore.sh modules.d/*/*.sh; do \