]> repo.cephalix.eu Git - BlueJ.git/commitdiff
updated make
authorbuildmaster <buildmaster@git.cephalix.eu>
Mon, 28 Sep 2020 20:32:50 +0000 (22:32 +0200)
committerbuildmaster <buildmaster@git.cephalix.eu>
Mon, 28 Sep 2020 20:32:50 +0000 (22:32 +0200)
Makefile

index 2044ea1355f4512fd0f1ebc031aac609da1f4699..6035812e0b923a558228f999191f132ee3e51a08 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -21,10 +21,11 @@ package:
        rm -rf oss-pkg-$(PACKAGE)
        mv  oss-pkg-$(PACKAGE).tar.bz2  /usr/src/packages/SOURCES/
        rpmbuild -bb oss-pkg-$(PACKAGE).spec
-       for i in $(REPO)/noarch/oss-pkg-$(PACKAGE)-$(VERSION)-*.rpm; do test -e $$i && rm $$i; done 
+       find $(REPO)/noarch -name oss-pkg-$(PACKAGE)-$(VERSION)-*.rpm*  -exec rm {} \;
        mv /usr/src/packages/RPMS/noarch/oss-pkg-$(PACKAGE)-$(VERSION)-$(NRELEASE).noarch.rpm $(REPO)/noarch
        echo $(NRELEASE) > RELEASE
        git commit -a -m "New release"
        git push
        createrepo $(REPO)
 
+