summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-01-14 16:49:36 +0100
committerHolger Levsen <holger@layer-acht.org>2015-01-14 16:49:36 +0100
commitdd639c05cf10323fc842cf8f46624508929d43c0 (patch)
treef337e686c0e06eb06ce925a753755da2434b4d4e /bin
parent3a4822ae4574958e17e3642feea18b8dcd90aac9 (diff)
downloadjenkins.debian.net-dd639c05cf10323fc842cf8f46624508929d43c0.tar.xz
refactor
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_create_meta_pkg_sets.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/reproducible_create_meta_pkg_sets.sh b/bin/reproducible_create_meta_pkg_sets.sh
index 1c18aea4..376213b1 100755
--- a/bin/reproducible_create_meta_pkg_sets.sh
+++ b/bin/reproducible_create_meta_pkg_sets.sh
@@ -32,7 +32,8 @@ chdist --arch=$ARCH apt-get $DISTNAME update
# helper functions
convert_into_source_packages_only() {
rm -f ${TMPFILE2}
- for PKG in $(cat $TMPFILE | cut -d ":" -f1 | sed "s#([^()]*)##g ; s#\[[^][]*\]##g ; s#,##g" |sort -u ) ; do
+ ALL_PKGS="$(cat $TMPFILE | cut -d ":" -f1 | sed "s#([^()]*)##g ; s#\[[^][]*\]##g ; s#,##g" |sort -u )"
+ for PKG in $ALL_PKGS ; do
SRC=""
if [ ! -z "$PKG" ] ; then
SRC=$(grep-dctrl -X -n -FPackage -sSource $PKG $PACKAGES || true )