Skip to content

Commit

Permalink
snippets: fix Wikipedia generator
Browse files Browse the repository at this point in the history
An off-by-one error meant the Spanish Wikipedia bookmarklet was never
generated.
  • Loading branch information
janmoesen committed May 16, 2016
1 parent 8f8f531 commit f757c67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snippets.bash
Expand Up @@ -64,7 +64,7 @@ COPY_VD=; copy-vd \
# Copy the English Wikipedia bookmarklet to some other languages.
copy-enw () {
source='search/wikipedia/enw.js';
while [ $# -ge 3 ]; do
while [ $# -ge 2 ]; do
lang="$1";
name="$2";
keyword="${lang}w";
Expand Down

0 comments on commit f757c67

Please sign in to comment.