summaryrefslogtreecommitdiffstats
path: root/scripts/oe-buildenv-internal
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/oe-buildenv-internal')
-rwxr-xr-xscripts/oe-buildenv-internal2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-buildenv-internal b/scripts/oe-buildenv-internal
index bc6a4fedcd..8eee0087a9 100755
--- a/scripts/oe-buildenv-internal
+++ b/scripts/oe-buildenv-internal
@@ -99,7 +99,7 @@ fi
99# Make sure our paths are at the beginning of $PATH 99# Make sure our paths are at the beginning of $PATH
100for newpath in "$BITBAKEDIR/bin" "$OEROOT/scripts"; do 100for newpath in "$BITBAKEDIR/bin" "$OEROOT/scripts"; do
101 # Remove any existences of $newpath from $PATH 101 # Remove any existences of $newpath from $PATH
102 PATH=$(echo $PATH | sed -re "s#(^|:)$newpath(:|$)#\1#g;s#^:##") 102 PATH=$(echo $PATH | sed -re "s#(^|:)$newpath(:|$)#\2#g;s#^:##")
103 103
104 # Add $newpath to $PATH 104 # Add $newpath to $PATH
105 PATH="$newpath:$PATH" 105 PATH="$newpath:$PATH"