From 14d18bbed180efa1a5988aca18058efd952e4393 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Mon, 18 May 2015 14:23:49 +0100 Subject: 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 --- essential-files/etc/profile | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.1