From 96e5da763a2378939c57da31846b342de3aa1755 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 12 Nov 2012 00:50:54 +0100 Subject: really fix syntax error --- bin/webcheck_url.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/webcheck_url.sh b/bin/webcheck_url.sh index 6089d92f..94b6882e 100755 --- a/bin/webcheck_url.sh +++ b/bin/webcheck_url.sh @@ -42,7 +42,7 @@ fi # # ignore some extra patterns (=all translations) when checking www.debian.org # -if [ "${URL:0-21}" = "http://www.debian.org" ] ; then +if [ "${URL:0:21}" = "http://www.debian.org" ] ; then TRANSLATIONS=$(curl www.debian.org 2>/dev/null|grep index|grep lang=|cut -d "." -f2) for LANG in $TRANSLATIONS ; do PARAMS="$PARAMS -y $LANG.html" -- cgit v1.2.3-70-g09d2