<p><b>@eht16</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/geany/geany/pull/2181#discussion_r295907440">scripts/update-nsis-functions.sh</a>:</p>
<pre style='color:#555'>> @@ -39,8 +39,7 @@ variables=$(\
 variables_extra='{nsisdir} 0 1 2 3 4 5 6 7 8 9 r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 \\n \\r \\t $'
 variables="${variables_extra} ${variables}"
 # prefix each element with a dollar sign
-declare -a variables_array=(${variables})
-variables="${variables_array[@]/#/'$'}"
+variables="$(echo $variables | sed 's/[^ ]*/$&/g')"
</pre>
<p>Good catch, with quoting it turned out that there was trailing whitespace.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/2181?email_source=notifications&email_token=AAIOWJZEJTU5JX7MZMOP3R3P3O2UPA5CNFSM4HWTGO52YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB4F2BPI#discussion_r295907440">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJZ65KRLWUQER2AVIATP3O2UPANCNFSM4HWTGO5Q">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ5EVSJADNRD6VK374LP3O2UPA5CNFSM4HWTGO52YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB4F2BPI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2181?email_source=notifications\u0026email_token=AAIOWJZEJTU5JX7MZMOP3R3P3O2UPA5CNFSM4HWTGO52YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB4F2BPI#discussion_r295907440",
"url": "https://github.com/geany/geany/pull/2181?email_source=notifications\u0026email_token=AAIOWJZEJTU5JX7MZMOP3R3P3O2UPA5CNFSM4HWTGO52YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB4F2BPI#discussion_r295907440",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>