diff options
author | Ian Kelling <iank@fsf.org> | 2018-07-25 21:17:05 -0400 |
---|---|---|
committer | Ian Kelling <iank@fsf.org> | 2018-07-25 21:17:05 -0400 |
commit | d3f058791b537f242a10cda3f2ddbd68e1e17314 (patch) | |
tree | 88ab934a8d67f28b1b53cf3c03532be4b0dd6b8a | |
parent | 68fcd92e73345ede4353c62926879891062bf5c1 (diff) |
variables should not be named the same as functions
-rw-r--r-- | subprojects/freeamo/src/main_functions | 2 | ||||
-rw-r--r-- | subprojects/freeamo/src/make-wiki | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/subprojects/freeamo/src/main_functions b/subprojects/freeamo/src/main_functions index 453485a..9a5cdd9 100644 --- a/subprojects/freeamo/src/main_functions +++ b/subprojects/freeamo/src/main_functions @@ -61,7 +61,7 @@ function line_status { # Begin locale code -function locale_description { +function do-locale { echo "####################" diff --git a/subprojects/freeamo/src/make-wiki b/subprojects/freeamo/src/make-wiki index 93b768d..1af8e0e 100644 --- a/subprojects/freeamo/src/make-wiki +++ b/subprojects/freeamo/src/make-wiki @@ -73,9 +73,9 @@ while IFS= read -r table; do source "$run_path/src/main_functions" locale_description="summary" - locale_description + do-locale locale_description="description" - locale_description + do-locale short_description=$(echo "$summary" | format_description) full_description=$(echo "$description" | format_description) |