From d57ec0028118b6f4436b4d10530ce1957e4b293e Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Mon, 3 Aug 2015 19:54:50 +0200 Subject: reproducible: clone repositories shallowly to speed it up --- bin/reproducible_create_meta_pkg_sets.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/reproducible_create_meta_pkg_sets.sh') diff --git a/bin/reproducible_create_meta_pkg_sets.sh b/bin/reproducible_create_meta_pkg_sets.sh index 2219827b..da3c555e 100755 --- a/bin/reproducible_create_meta_pkg_sets.sh +++ b/bin/reproducible_create_meta_pkg_sets.sh @@ -195,7 +195,7 @@ update_pkg_sets() { # packages from the cii-census if [ ! -z $(find $TPATH -maxdepth 1 -mtime +0 -name ${META_PKGSET[9]}.pkgset) ] || [ ! -f $TPATH/${META_PKGSET[9]}.pkgset ] ; then CII=$(mktemp --tmpdir=$TEMPDIR pkg-sets-XXXXXXXXX -u) - git clone https://github.com/linuxfoundation/cii-census.git $CII + git clone --depth 1 https://github.com/linuxfoundation/cii-census.git $CII csvtool -t ',' col 1 $CII/results.csv | grep -v "project_name" > $TMPFILE MISSES="" # convert binary packages into source packages -- cgit v1.2.3-54-g00ecf