summaryrefslogtreecommitdiff
path: root/bin/build-rpm-package
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2014-10-11 17:05:37 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2014-10-11 17:05:37 +0200
commit758107ed9376967766afc8ecd7a1a2e761c78d8d (patch)
tree5fd2809b6bfd4de964e94973ae595efca38888ea /bin/build-rpm-package
parent86999a1cf4b54ea258b0d3d8ccacf09e47347f9e (diff)
downloadbuildscripts-758107ed9376967766afc8ecd7a1a2e761c78d8d.tar.gz
buildscripts-758107ed9376967766afc8ecd7a1a2e761c78d8d.tar.bz2
buildscripts-758107ed9376967766afc8ecd7a1a2e761c78d8d.zip
another fix
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