summaryrefslogtreecommitdiff
path: root/bin/build-rpm-package
diff options
context:
space:
mode:
Diffstat (limited to 'bin/build-rpm-package')
-rwxr-xr-xbin/build-rpm-package2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index ac7f75e..b6997c4 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -238,7 +238,7 @@ build_packages() {
--clean \
$PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/rpmbuild/SRPMS/$PROJECT-$UPSTREAM_VERSION-$PKG_SRCRELEASE.$IS_RELEASE.git$DATE.$GITREV.$COMPONENT.src.rpm; then
mkdir -p "$PKGDIST/$l_DIST/$l_CODENAME/x86_64/"
- find "/var/cache/obs-build/$l_DIST/$l_CODENAME/x86_64/home/abuild/rpmbuild/RPMS/*/*.rpm"| while read rpmfile; do
+ find "/var/cache/obs-build/$l_DIST/$l_CODENAME/x86_64/home/abuild/rpmbuild/RPMS/*/*"| egrep '.*\.rpm$' | while read rpmfile; do
mv "$rpmfile" "$PKGDIST/$l_DIST/$l_CODENAME/x86_64/"
done
rpmsign-unattended -D "%_gpg_name debian@x2go.org" --addsign $PKGDIST/$l_DIST/$l_CODENAME/x86_64/*.rpm