summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-13 17:42:02 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-13 17:42:02 +0100
commit6fb3d14cbefa50eb3d4fe7d4d3f0714ac875cc60 (patch)
tree3ff6b566fae2f783db96120135b46e547cc57ddf
parentbcf0d9b190e846e18a67e9098213ec6c3d90d7f0 (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-xcdist2
1 files changed, 1 insertions, 1 deletions
diff --git a/cdist b/cdist
index 0f19d0c..afe65ac 100755
--- a/cdist
+++ b/cdist
@@ -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))