Fix after shellcheck.

remotes/origin/4.10
Darko Poljak 6 years ago
parent dcb4395909
commit 53300b1004
  1. 4
      cdist/conf/type/__install_config/files/remote/copy
  2. 4
      cdist/conf/type/__install_config/files/remote/exec

@ -41,8 +41,8 @@ log "@: $*"
log "code: $code"
# copy files into chroot
# code should be split on spaces
# __default_remote_copy and code should be split
# shellcheck disable=SC2086
"$__default_remote_copy" $code
$__default_remote_copy $code
log "-----"

@ -45,8 +45,8 @@ log "@: $*"
log "code: $code"
# Run the code
# code should be split on spaces
# __default_remote_exec and code should be split
# shellcheck disable=SC2086,SC2090
"$__default_remote_exec" "$target_host" $code
$__default_remote_exec "$target_host" $code
log "-----"

Loading…
Cancel
Save