Skip to content

Commit

Permalink
Remove quotes around ${_doit}
Browse files Browse the repository at this point in the history
and tell shellcheck not to worry about it
  • Loading branch information
solvaholic committed Oct 20, 2022
1 parent 7a47ad1 commit 0f3f924
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
# - CONFIG_PATH
# - DOIT

# shellcheck disable=SC2005,SC2086,SC2129

_config_path=$CONFIG_PATH
_doit=$DOIT

Expand All @@ -21,7 +23,7 @@ if [ ! "${_doit}" = "--doit" ]; then
_doit=
fi

if ! octodns-sync --config-file="${_config_path}" "${_doit}" \
if ! octodns-sync --config-file="${_config_path}" ${_doit} \
1>"${_planfile}" 2>"${_logfile}"; then
echo "FAIL: octodns-sync exited with an error."
echo "FAIL: Here are the contents of ${_logfile}:"
Expand Down

0 comments on commit 0f3f924

Please sign in to comment.