From 4f2d2d67223d862ffce4d09be3ad1c2a02269453 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 16 Jul 2015 09:03:29 +0200 Subject: reproducible: git doesnt like existing directories --- bin/reproducible_create_meta_pkg_sets.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/reproducible_create_meta_pkg_sets.sh b/bin/reproducible_create_meta_pkg_sets.sh index bd6f562d..9e23087a 100755 --- a/bin/reproducible_create_meta_pkg_sets.sh +++ b/bin/reproducible_create_meta_pkg_sets.sh @@ -193,7 +193,7 @@ update_pkg_sets() { # packages from the cii-census if [ ! -z $(find $TPATH -maxdepth 1 -mtime +0 -name ${META_PKGSET[30]}.pkgset) ] || [ ! -f $TPATH/${META_PKGSET[30]}.pkgset ] ; then - CII=$(mktemp) + CII=$(mktemp --tmpdir=$TEMPDIR pkg-sets-XXXXXXXXX -u) git clone https://github.com/linuxfoundation/cii-census.git $CII csvtool -t ',' col 1 $CII|results.csv|grep -v "project name" > $TMPFILE update_if_similar ${META_PKGSET[30]}.pkgset -- cgit v1.2.3-70-g09d2