From bf52ba26d47054ed0619eb4f67f5f167f39ad5f8 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Mon, 4 Jun 2018 22:17:29 -0400 Subject: fix argument list too long error --- doall.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) mode change 100644 => 100755 doall.sh (limited to 'doall.sh') diff --git a/doall.sh b/doall.sh old mode 100644 new mode 100755 index 1eb18d3..ed1c61e --- a/doall.sh +++ b/doall.sh @@ -1,6 +1,7 @@ #!/bin/bash set -e +set -x rm distfiles output *.log *.h5 -rf mkdir distfiles @@ -26,7 +27,7 @@ wget -O - http://ftp.debian.org/debian/dists/stable/main/i18n/Translation-en.bz2 pv distfiles/Translation-en | python load_descriptions.py if ! [ -d metadata.ftp-master.debian.org/changelogs ]; then -rm downloadlist* -f + rm downloadlist* -f for PACKAGE in $PACKAGES; do LETTER=$(echo $PACKAGE |cut -c1) [ 1$(echo $PACKAGE |cut -c-3) = 1'lib' ] && LETTER=$(echo $PACKAGE |cut -c-4) @@ -34,7 +35,7 @@ rm downloadlist* -f echo http://metadata.ftp-master.debian.org/changelogs/main/$LETTER/$PACKAGE/stable_changelog >> downloadlist done -wget -x --continue -i downloadlist + wget -x --continue -i downloadlist for PACKAGE in $PACKAGES; do LETTER=$(echo $PACKAGE |cut -c1) @@ -42,12 +43,12 @@ wget -x --continue -i downloadlist [ -f metadata.ftp-master.debian.org/changelogs/main/$LETTER/$PACKAGE/stable_copyright ] || echo http://metadata.ftp-master.debian.org/changelogs/main/$LETTER/$PACKAGE/stable_$PACKAGE.copyright >> downloadlist404 done -wget -x --continue -i downloadlist404 + wget -x --continue -i downloadlist404 fi -python load_copyright.py metadata.ftp-master.debian.org/changelogs/main/*/*/stable_copyright | tee cp_import.log -python load_changelog.py metadata.ftp-master.debian.org/changelogs/main/*/*/stable_changelog | tee cl_import.log +python load_copyright.py &> cp_import.log +python load_changelog.py &> cl_import.log python export.py python export_json.py -- cgit v1.2.3