diff options
author | Holger Levsen <holger@layer-acht.org> | 2012-11-12 00:50:54 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2012-11-12 00:50:54 +0100 |
commit | 96e5da763a2378939c57da31846b342de3aa1755 (patch) | |
tree | dd168156d1f65b62426ad461e2a2b8dcea055e89 /bin | |
parent | b4be7ad34ebcc19c6a6bf536e60d43e2f37ee811 (diff) | |
download | jenkins.debian.net-96e5da763a2378939c57da31846b342de3aa1755.tar.xz |
really fix syntax error
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/webcheck_url.sh | 2 |
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" |