summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjosch <j.schauer@email.de>2015-01-08 16:38:03 +0100
committerHolger Levsen <holger@layer-acht.org>2015-01-08 16:39:21 +0100
commitbfee1bbf9c9d1f5d43821592405da2ae1577377e (patch)
treecf1aa99388d070c90bf17495a9a232bab7cb5ccd
parent00332b3828e375ca506fcc622d41b043a318951f (diff)
downloadjenkins.debian.net-bfee1bbf9c9d1f5d43821592405da2ae1577377e.tar.xz
bin/reproducible_create_meta_pkg_sets.sh: declare vars earlier
-rwxr-xr-xbin/reproducible_create_meta_pkg_sets.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/bin/reproducible_create_meta_pkg_sets.sh b/bin/reproducible_create_meta_pkg_sets.sh
index c128f2ce..7526ef56 100755
--- a/bin/reproducible_create_meta_pkg_sets.sh
+++ b/bin/reproducible_create_meta_pkg_sets.sh
@@ -12,15 +12,16 @@ common_init "$@"
TPATH=/srv/reproducible-results/meta_pkgsets
mkdir -p $TPATH
-PACKAGES=`echo ~/.chdist/$DISTNAME/var/lib/apt/lists/*_dists_${SUITE}_main_binary-${ARCH}_Packages`
-SOURCES=`echo ~/.chdist/$DISTNAME/var/lib/apt/lists/*_dists_${SUITE}_main_source_Sources`
-TMPFILE=$(mktemp)
-TMPFILE2=$(mktemp)
ARCH=amd64
SUITE=sid
DISTNAME="$SUITE-$ARCH"
+PACKAGES=`echo ~/.chdist/$DISTNAME/var/lib/apt/lists/*_dists_${SUITE}_main_binary-${ARCH}_Packages`
+SOURCES=`echo ~/.chdist/$DISTNAME/var/lib/apt/lists/*_dists_${SUITE}_main_source_Sources`
+TMPFILE=$(mktemp)
+TMPFILE2=$(mktemp)
+
# delete possibly existing dist
rm -rf ~/.chdist/$DISTNAME;