From 70fba9c726aa4ce669eb689c5c2d3a6a6dcc1278 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 3 May 2015 13:09:22 +0200 Subject: reproducible: fix reproducible->unreproducible status notifications --- bin/reproducible_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/reproducible_build.sh') diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index ef99a400..69ddcd06 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -182,9 +182,9 @@ handle_ftbr() { echo "$(date) - $DBDVERSION produced no output (which is strange)." | tee -a $RBUILDLOG fi calculate_build_duration + local OLD_STATUS=$(sqlite3 -init $INIT ${PACKAGES_DB} "SELECT status FROM results WHERE package_id='${SRCPKGID}'") update_db_and_html "unreproducible" # notification for changing status - local OLD_STATUS=$(sqlite3 -init $INIT ${PACKAGES_DB} "SELECT status FROM results WHERE package_id='${SRCPKGID}'") if [ "${OLD_STATUS}" = "reproducible" ]; then MESSAGE="status changed from reproducible → unreproducible. ${REPRODUCIBLE_URL}/${SUITE}/${ARCH}/${SRCPACKAGE}" echo "\n$MESSAGE" | tee -a ${RBUILDLOG} -- cgit v1.2.3-54-g00ecf