summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2015-05-18 14:23:49 +0100
committerBaserock Gerrit <gerrit@baserock.org>2015-05-20 14:30:11 +0000
commit14d18bbed180efa1a5988aca18058efd952e4393 (patch)
tree723f312a83519c2fd77a1c29d5373ab7a06d3482
parent0f58def75fab90923f46faf556b0ce6642d638b6 (diff)
downloaddefinitions-14d18bbed180efa1a5988aca18058efd952e4393.tar.gz
essential-files/etc/profile: Set our default PATH
Current PATH is: /sbin:/bin:/usr/sbin:/usr/bin So this patch will minimize the problem where, even when you are compiling a specific tool (like sed), the one included in busybox is executed instead, as its installed in /bin instead /usr/bin Change-Id: I476e8a2fb07efdd7768a94ea99b29dc75e757b60
-rw-r--r--essential-files/etc/profile4
1 files changed, 4 insertions, 0 deletions
diff --git a/essential-files/etc/profile b/essential-files/etc/profile
index c5bddd0d..b306a132 100644
--- a/essential-files/etc/profile
+++ b/essential-files/etc/profile
@@ -1,5 +1,9 @@
# /etc/profile
+# Set our default path
+PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
+export PATH
+
# Source global bash config
if test "$PS1" && test "$BASH" && test -r /etc/bash.bashrc; then
. /etc/bash.bashrc