diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-07-26 21:14:05 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-07-26 21:14:05 -0400 |
commit | f8ebebb55801f1275aaf6690bc018ca09e7d6902 (patch) | |
tree | dcee90e65372937448eeb76eab1257b51a998a4d | |
parent | be4fcbd51a4b134c7c9e3945f86295e33bbb45b6 (diff) |
oops, mangled indent
-rw-r--r-- | FunnyQuestion.conf.php.sh | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/FunnyQuestion.conf.php.sh b/FunnyQuestion.conf.php.sh index 66549381..d280e3de 100644 --- a/FunnyQuestion.conf.php.sh +++ b/FunnyQuestion.conf.php.sh @@ -7,17 +7,17 @@ declare -A prompts prompts[en]='What is the output of the command <tt>%s</tt>?' { - echo '<?php' - echo -n '$wgFunnyQuestions = array(' + echo '<?php' + echo -n '$wgFunnyQuestions = array(' - nl='\n' - for lang in "${!prompts[@]}"; do - printf "${nl}\t\"${lang}\" => array(\"${prompts[$lang]}\" => \"%s\")" "$cmd" "$answer" - nl=',\n' - done + nl='\n' + for lang in "${!prompts[@]}"; do + printf "${nl}\t\"${lang}\" => array(\"${prompts[$lang]}\" => \"%s\")" "$cmd" "$answer" + nl=',\n' + done - echo - echo ');' + echo + echo ');' } > /srv/http/wiki/FunnyQuestion.conf.php touch /srv/http/wiki/extensions/FunnyQuestion/FunnyQuestion.i18n.php |