summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-01-08 21:01:50 +0100
committerHolger Levsen <holger@layer-acht.org>2015-01-08 21:01:50 +0100
commitf660a3dae56fa5b6960a4e44ab139a52ab9e7009 (patch)
tree09fd053539b4518b78652d03531c54ca8d9c2827
parent937554a711a672a8e9b5fd7a0643b155deb790b1 (diff)
downloadjenkins.debian.net-f660a3dae56fa5b6960a4e44ab139a52ab9e7009.tar.xz
filter out arch and version
-rwxr-xr-xbin/reproducible_create_meta_pkg_sets.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_create_meta_pkg_sets.sh b/bin/reproducible_create_meta_pkg_sets.sh
index 7526ef56..41b34a04 100755
--- a/bin/reproducible_create_meta_pkg_sets.sh
+++ b/bin/reproducible_create_meta_pkg_sets.sh
@@ -32,7 +32,7 @@ chdist --arch=$ARCH apt-get $DISTNAME update
# helper functions
convert_into_source_packages_only() {
TMP2=$(mktemp)
- for PKG in $(cat $TMPFILE) ; do
+ for PKG in $(cat $TMPFILE | sed "s#([^)]*)##g; s#,##g" ) ; do
SRC=""
if [ ! -z "$PKG" ] ; then
SRC=$(grep-dctrl -X -n -FPackage -sSource $PKG $PACKAGES || true )