diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-13 17:42:02 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-13 17:42:02 +0100 |
| commit | 6fb3d14cbefa50eb3d4fe7d4d3f0714ac875cc60 (patch) | |
| tree | 3ff6b566fae2f783db96120135b46e547cc57ddf | |
| parent | bcf0d9b190e846e18a67e9098213ec6c3d90d7f0 (diff) | |
Don't include /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/adt/sdk/tools:/home/c.hetherington/bin:/home/c.hetherington/ubuntu/bin when building on Linux.
| -rwxr-xr-x | cdist | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -423,7 +423,7 @@ class LinuxTarget(Target): self.set('CPPFLAGS', '') self.set('LINKFLAGS', '-L%s/lib' % self.directory) self.set('PKG_CONFIG_PATH', '%s/lib/pkgconfig:/usr/local/lib/pkgconfig' % self.directory) - self.set('PATH', '%s:/usr/local/bin' % (os.environ['PATH'])) + self.set('PATH', '/usr/bin:/bin:/usr/sbin:/sbin/:/usr/local/bin') def command(self, c): command('%s schroot -c %s -p -- %s' % (self.variables_string(), self.chroot, c)) |
