diff options
| -rwxr-xr-x | cdist | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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('/') |
