summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-11-12 00:50:54 +0100
committerHolger Levsen <holger@layer-acht.org>2012-11-12 00:50:54 +0100
commit96e5da763a2378939c57da31846b342de3aa1755 (patch)
treedd168156d1f65b62426ad461e2a2b8dcea055e89 /bin
parentb4be7ad34ebcc19c6a6bf536e60d43e2f37ee811 (diff)
downloadjenkins.debian.net-96e5da763a2378939c57da31846b342de3aa1755.tar.xz
really fix syntax error
Diffstat (limited to 'bin')
-rwxr-xr-xbin/webcheck_url.sh2
1 files changed, 1 insertions, 1 deletions
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"