diff options
author | Martijn Dekker <martijn@inlv.org> | 2016-01-18 21:35:29 +0100 |
---|---|---|
committer | Martijn Dekker <martijn@inlv.org> | 2016-01-18 21:35:29 +0100 |
commit | 9794f1635a44891c073d52976fb94e99f34353ec (patch) | |
tree | 6688fc8264c13f77ce861eb0e2be7472e9e5d55a | |
parent | c3e0572be6b8f191f60c3f6c29168e23159ce06b (diff) |
fix unquoted $global_disqus_username that shellcheck.net didn't catch
(it was subject to field splitting and globbing)
-rwxr-xr-x | bb.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -220,7 +220,7 @@ disqus_body() { echo '<div id="disqus_thread"></div> <script type="text/javascript"> /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */ - var disqus_shortname = '\'$global_disqus_username\''; // required: replace example with your forum shortname + var disqus_shortname = '"'$global_disqus_username'"'; // required: replace example with your forum shortname /* * * DONT EDIT BELOW THIS LINE * * */ (function() { @@ -238,7 +238,7 @@ disqus_footer() { [[ -z $global_disqus_username ]] && return echo '<script type="text/javascript"> /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */ - var disqus_shortname = '\'$global_disqus_username\''; // required: replace example with your forum shortname + var disqus_shortname = '"'$global_disqus_username'"'; // required: replace example with your forum shortname /* * * DONT EDIT BELOW THIS LINE * * */ (function () { |