fix unquoted $global_disqus_username that shellcheck.net didn't catch
(it was subject to field splitting and globbing)
This commit is contained in:
parent
c3e0572be6
commit
9794f1635a
4
bb.sh
4
bb.sh
|
@ -220,7 +220,7 @@ disqus_body() {
|
||||||
echo '<div id="disqus_thread"></div>
|
echo '<div id="disqus_thread"></div>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
|
/* * * 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 * * */
|
/* * * DONT EDIT BELOW THIS LINE * * */
|
||||||
(function() {
|
(function() {
|
||||||
|
@ -238,7 +238,7 @@ disqus_footer() {
|
||||||
[[ -z $global_disqus_username ]] && return
|
[[ -z $global_disqus_username ]] && return
|
||||||
echo '<script type="text/javascript">
|
echo '<script type="text/javascript">
|
||||||
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
|
/* * * 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 * * */
|
/* * * DONT EDIT BELOW THIS LINE * * */
|
||||||
(function () {
|
(function () {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user