projects
/
cdist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcf0d9b
)
Don't include /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games...
author
Carl Hetherington
<cth@carlh.net>
Sat, 13 Jun 2015 16:42:02 +0000
(17:42 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 13 Jun 2015 16:42:02 +0000
(17:42 +0100)
cdist
patch
|
blob
|
history
diff --git
a/cdist
b/cdist
index 0f19d0c819bc6155df5afe1e1e1ac0c8edac2c14..afe65ac7fc71d736abf349aadcf215ad3166ff1a 100755
(executable)
--- 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))