make PATH setting independent of further code

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-03-24 10:17:43 +01:00
parent 7a294bf41d
commit 79eec9bd23

View file

@ -28,4 +28,4 @@ set -ue
__cdist_target_host="$1"; shift
ssh "${__cdist_remote_user}@${__cdist_target_host}" \
"PATH=\"${__cdist_remote_bin_dir}:\$PATH\"" "$@"
"export PATH=\"${__cdist_remote_bin_dir}:\$PATH\";" "$@"