summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKejia Hu (Terry) <kejia.hu@codethink.co.uk>2015-03-26 21:01:59 +0000
committerBaserock Gerrit <gerrit@baserock.org>2015-03-30 17:33:17 +0000
commite6bbd2b9571baa5524c9b2bf74bdce1c83decba0 (patch)
tree74cb5b88564264513500a15e0a6a3b2dc10a57fe
parent1fa49dcc67ce0818d083df820de3933fa8289df4 (diff)
downloadmorph-e6bbd2b9571baa5524c9b2bf74bdce1c83decba0.tar.gz
Set PATH to fixed value
In the native build phase, building of cmake will fail if the order of pathes in $PATH is twisted. So we set it to fixed to avoid problem. Change-Id: I6b4d3ed3d5331c2db4f5f3324207fabb4310985c
-rw-r--r--morphlib/plugins/cross-bootstrap_plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/plugins/cross-bootstrap_plugin.py b/morphlib/plugins/cross-bootstrap_plugin.py
index 79609cb5..9bec5646 100644
--- a/morphlib/plugins/cross-bootstrap_plugin.py
+++ b/morphlib/plugins/cross-bootstrap_plugin.py
@@ -27,7 +27,7 @@ echo "Generated by Morph version %s\n"
set -eu
-export PATH=$PATH:/tools/bin:/tools/sbin
+export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/tools/bin:/tools/sbin
export SRCDIR=/src
''' % morphlib.__version__