Skip to contentSkip to conversation

Another regression fix

PATCH New Paul Eggleton 1 participant 2 messages Dec 11, 2015

lore
Share & tools
lore
#0 lore raw

cover Another regression fix

The following changes since commit 192da885e92d3b163b9c4e6b8151c9ecc6062b14:

build-appliance-image: Update to master head revision (2015-12-09 08:49:13 +0000)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib paule/sdk-env-fix4
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/sdk-env-fix4

Paul Eggleton (1):
toolchain-shar-extract.sh: fix ~ not working in path

 meta/files/toolchain-shar-extract.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.5.0
#1 lore raw

PATCH 1/1 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.

---
 meta/files/toolchain-shar-extract.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/files/toolchain-shar-extract.sh +1 -1
index 606a44e..de8c669 100644
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-[ -z "$ENVCLEANED" ] && exec /usr/bin/env -i ENVCLEANED=1 "$0" "$@"
+[ -z "$ENVCLEANED" ] && exec /usr/bin/env -i ENVCLEANED=1 HOME="$HOME" "$0" "$@"
 [ -f /etc/environment ] && . /etc/environment
 export PATH=`echo "$PATH" | sed -e 's/:\.//' -e 's/::/:/'`
 
Signature · 1 line
2.5.0