diff options
Diffstat (limited to 'bin/reproducible_build.sh')
-rwxr-xr-x | bin/reproducible_build.sh | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 013bf2f2..55912ceb 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -109,11 +109,6 @@ cleanup_userContent() { rm -f $BASE/buildinfo/${SUITE}/${ARCH}/${SRCPACKAGE}_*.buildinfo > /dev/null 2>&1 } -calculate_build_duration() { - END=$(date +'%s') - DURATION=$(( $END - $START )) -} - update_db_and_html() { # everything passed at this function is saved as a status of this package in the db STATUS="$@" @@ -145,13 +140,6 @@ update_rbuildlog() { RBUILDLOG=$BASE/rbuild/${SUITE}/${ARCH}/${SRCPACKAGE}_${EVERSION}.rbuild.log } -print_out_duration() { - local HOUR=$(echo "$DURATION/3600"|bc) - local MIN=$(echo "($DURATION-$HOUR*3600)/60"|bc) - local SEC=$(echo "$DURATION-$HOUR*3600-$MIN*60"|bc) - echo "$(date) - total duration: ${HOUR}h ${MIN}m ${SEC}s." | tee -a ${RBUILDLOG} -} - handle_404() { echo "Warning: Download of ${SRCPACKAGE} sources from ${SUITE} failed." | tee -a ${RBUILDLOG} ls -l ${SRCPACKAGE}* | tee -a ${RBUILDLOG} |