Skip to content

Commit ff5ed3b

Browse files
committed
Installed ShellCheck and fixed potential errors
1 parent abc8991 commit ff5ed3b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build/wiki-command-replacer.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,9 @@ execute_command() {
4242
validate_tokens
4343
add_default_options
4444

45-
echo >&2 " INFO: running: ${EXECUTABLE_COMMAND[@]}"
46-
${EXECUTABLE_COMMAND[@]}
45+
echo >&2 " INFO: running: " "${EXECUTABLE_COMMAND[@]}"
46+
read -ra executable <<<"${EXECUTABLE_COMMAND[@]}"
47+
"${executable[@]}"
4748
}
4849

4950
if [[ -z "${CI:-}" ]]; then

0 commit comments

Comments
 (0)