[Blends-commit] [SCM] website branch, master, updated. bc821c761c9498f704cef8d54f99a499641bc3f2

Andreas Tille tille at debian.org
Mon Dec 15 20:11:58 UTC 2014


The following commit has been merged in the master branch:
commit bc821c761c9498f704cef8d54f99a499641bc3f2
Author: Andreas Tille <tille at debian.org>
Date:   Mon Dec 15 21:11:03 2014 +0100

    Revision numbers are no decimal numbers - so use string comparison

diff --git a/webtools/check-static-content b/webtools/check-static-content
index aca7d48..8a09633 100755
--- a/webtools/check-static-content
+++ b/webtools/check-static-content
@@ -39,7 +39,7 @@ cd /srv/blends.debian.org
 git pull --quiet 2>/dev/null
 NEW_REV=`git rev-parse --verify HEAD`
 
-if [ "$OLD_REV" -ne "$NEW_REV" ]; then
+if [ "$OLD_REV" != "$NEW_REV" ]; then
 	[ -x /usr/local/bin/static-update-component ] && \
 		/usr/local/bin/static-update-component blends.debian.org 2>&1 >/dev/null
 fi

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list