summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-15 23:10:16 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-15 23:10:16 +0100
commita688c16297881d4740fa37f1798351d3016387ac (patch)
tree399290f77c44e442a01e2dafcd3690ca9e11cb64
parent736f50e59fd96602d742e4d202a305573ff19673 (diff)
/usr/local/bin is expected to override /usr/bin in PATH.
-rwxr-xr-xcdist2
1 files changed, 1 insertions, 1 deletions
diff --git a/cdist b/cdist
index 742e354..a27b337 100755
--- a/cdist
+++ b/cdist
@@ -427,7 +427,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', '/usr/bin:/bin:/usr/sbin:/sbin/:/usr/local/bin')
+ self.set('PATH', '/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin')
def command(self, c):
command('%s schroot -c %s -p -- %s' % (self.variables_string(), self.chroot, c))