diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-09-30 01:19:58 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-09-30 01:19:58 +0200 |
commit | d4edf29476ce567b91e2328734c1776902333114 (patch) | |
tree | d709d6de19b0960aeb5ea504f8c2bf5613d67500 /bin | |
parent | 7fb3bf4cbca9634539b34726f8510d06f1c748a7 (diff) | |
download | jenkins.debian.net-d4edf29476ce567b91e2328734c1776902333114.tar.xz |
reproducible: two small fixes
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_build.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index b1d8f421..d9f7b75b 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -97,7 +97,6 @@ if [[ $1 =~ ^-?[0-9]+$ ]] ; then for PKG in $PACKAGES ; do let "AMOUNT=AMOUNT+1" done - rm $CSVFILE fi # update amount of available packages (for doing statistics later) P_IN_SOURCES=$(xzcat $TMPFILE | grep "^Package" | grep -v "^Package-List:" | cut -d " " -f2 | wc -l) @@ -106,7 +105,7 @@ if [[ $1 =~ ^-?[0-9]+$ ]] ; then else PACKAGES="$@" AMOUNT="${#@}" - JOB=$(echo $JOB_NAME|cut -d "_" -f3) + JOB=$(echo $JOB_NAME|cut -d "_" -f3-) for PKG in $PACKAGES ; do RESULT=$(sqlite3 ${PACKAGES_DB} "SELECT name FROM job_sources WHERE ( name = '${PKG}' AND job = '$JOB' )") if [ "$RESULT" = "" ] ; then |