diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-12-11 16:11:48 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-11 11:23:30 +0000 |
commit | 9cab798490100f0d1223abfe51f9f19dab40ab14 (patch) | |
tree | 32774f940a6ca5a414577da3c4cbc8db1940c692 /meta/files | |
parent | f27401d557ed9460ca0ae30727294b52e2d79cf0 (diff) | |
download | poky-9cab798490100f0d1223abfe51f9f19dab40ab14.tar.gz |
toolchain-shar-extract.sh: fix ~ not working in path
Fix a second regression in the extensible SDK installation caused by
OE-Core revision 6d2074d477596971dc52027dd87b02af7f39138d - the HOME
environment variable was being cleared, thus using ~/ in the install
path (which is in the default path for the extensible SDK) resulted in a
directory named '~' being created in the current directory.
(From OE-Core rev: 18dcf8acc9a918d00c3525e9af5f64d237f74bdb)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/files')
-rw-r--r-- | meta/files/toolchain-shar-extract.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/files/toolchain-shar-extract.sh b/meta/files/toolchain-shar-extract.sh index 606a44e2f9..de8c66934e 100644 --- a/meta/files/toolchain-shar-extract.sh +++ b/meta/files/toolchain-shar-extract.sh | |||
@@ -1,6 +1,6 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | [ -z "$ENVCLEANED" ] && exec /usr/bin/env -i ENVCLEANED=1 "$0" "$@" | 3 | [ -z "$ENVCLEANED" ] && exec /usr/bin/env -i ENVCLEANED=1 HOME="$HOME" "$0" "$@" |
4 | [ -f /etc/environment ] && . /etc/environment | 4 | [ -f /etc/environment ] && . /etc/environment |
5 | export PATH=`echo "$PATH" | sed -e 's/:\.//' -e 's/::/:/'` | 5 | export PATH=`echo "$PATH" | sed -e 's/:\.//' -e 's/::/:/'` |
6 | 6 | ||