From 9bc75e3b2a88e1b5dcb296e877c8ce536a7fcdd5 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 8 Jan 2015 21:06:10 +0100 Subject: remove duplicates first --- bin/reproducible_create_meta_pkg_sets.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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 ) -- cgit v1.2.3-70-g09d2