From 79eec9bd236febbb3cbace6a93f5820deed47e7f Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 24 Mar 2011 10:17:43 +0100 Subject: [PATCH] make PATH setting independent of further code Signed-off-by: Nico Schottelius --- bin/cdist-run-remote | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/cdist-run-remote b/bin/cdist-run-remote index 87af8459..93cf9062 100755 --- a/bin/cdist-run-remote +++ b/bin/cdist-run-remote @@ -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\";" "$@"