diff options
author | Harald Hoyer <harald@redhat.com> | 2011-08-11 11:35:21 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2011-08-11 14:27:25 +0200 |
commit | e7b877427b4bb723d4b3271fc939d804bb5393df (patch) | |
tree | a3c29f54a350ef5364e07f9d755d39f5c5092037 /Makefile | |
parent | f295392724f71d410121783cc846cd4603b2f1c2 (diff) | |
download | dracut-e7b877427b4bb723d4b3271fc939d804bb5393df.tar.gz dracut-e7b877427b4bb723d4b3271fc939d804bb5393df.tar.bz2 dracut-e7b877427b4bb723d4b3271fc939d804bb5393df.zip |
Makefile: do not remove rpmbuild on fail
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -71,9 +71,8 @@ rpm: dracut-$(VERSION).tar.bz2 cd rpmbuild; ../git2spec.pl $(VERSION) < ../dracut.spec > dracut.spec; \ rpmbuild --define "_topdir $$PWD" --define "_sourcedir $$PWD" \ --define "_specdir $$PWD" --define "_srcrpmdir $$PWD" \ - --define "_rpmdir $$PWD" -ba dracut.spec || :; \ - cd ..; - mv rpmbuild/noarch/*.rpm .; mv rpmbuild/*.src.rpm .;rm -fr rpmbuild; ls *.rpm + --define "_rpmdir $$PWD" -ba dracut.spec && \ + ( cd ..; mv rpmbuild/noarch/*.rpm .; mv rpmbuild/*.src.rpm .;rm -fr rpmbuild; ls *.rpm ) syncheck: @ret=0;for i in dracut-logger modules.d/99base/init modules.d/*/*.sh; do \ |