summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcdist4
1 files changed, 2 insertions, 2 deletions
diff --git a/cdist b/cdist
index cd45e74..844afd3 100755
--- a/cdist
+++ b/cdist
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+/#!/usr/bin/python
# Copyright (C) 2012 Carl Hetherington <cth@carlh.net>
#
@@ -277,7 +277,7 @@ class RemoteEnvironment(Environment):
cwd = cwd[len(self.host_mount_dir):]
log('ssh [%s] -> %s' % (cwd, c))
- command('ssh %s -- "PATH=/usr/bin cd %s%s; %s %s"' % (self.host, self.dir_on_host, cwd, self.variables_string(True), c))
+ command('ssh %s -- "PATH=/usr/bin:/sbin cd %s%s; %s %s"' % (self.host, self.dir_on_host, cwd, self.variables_string(True), c))
def cleanup(self):
os.chdir('/')