summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-01-08 21:06:10 +0100
committerHolger Levsen <holger@layer-acht.org>2015-01-08 21:06:10 +0100
commit9bc75e3b2a88e1b5dcb296e877c8ce536a7fcdd5 (patch)
tree33390f4a4c9eecdcf9f19658e982525098d7ca9a
parentf660a3dae56fa5b6960a4e44ab139a52ab9e7009 (diff)
downloadjenkins.debian.net-9bc75e3b2a88e1b5dcb296e877c8ce536a7fcdd5.tar.xz
remove duplicates first
-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 41b34a04..9cba0cab 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 | sed "s#([^)]*)##g; s#,##g" ) ; do
+ for PKG in $(cat $TMPFILE | sed "s#([^)]*)##g; s#,##g" |sort -u ) ; do
SRC=""
if [ ! -z "$PKG" ] ; then
SRC=$(grep-dctrl -X -n -FPackage -sSource $PKG $PACKAGES || true )