summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-13 18:25:53 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-13 18:25:53 +0100
commitbb439f46fa0345c5c5e5e3421e8bcf92115a32ed (patch)
treebb4425089f41d3f28c04c82607b2710b2262901b
parent11bbf7d70ad5b5c7128c63316702e9c6a63599ec (diff)
downloadjenkins.debian.net-bb439f46fa0345c5c5e5e3421e8bcf92115a32ed.tar.xz
reproducible rpms: make download_package() also work with binary package names for source package names
-rwxr-xr-xbin/reproducible_build_rpm.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_build_rpm.sh b/bin/reproducible_build_rpm.sh
index b38dc19c..26fa444f 100755
--- a/bin/reproducible_build_rpm.sh
+++ b/bin/reproducible_build_rpm.sh
@@ -53,7 +53,7 @@ update_mock() {
download_package() {
echo "$(date -u ) - downloading ${SRCPACKAGE} for $RELEASE now."
yumdownloader --source ${SRCPACKAGE}
- SRC_RPM="$(ls $SRCPACKAGE*.src.rpm)"
+ SRC_RPM="$(ls *.src.rpm)"
}
choose_package() {