summaryrefslogtreecommitdiffstats
path: root/meta/files
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-11-02 15:51:46 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-12 08:42:29 +0000
commit82c007203386027a6e5d48a84d4c709ee8370696 (patch)
tree8739916b99fe029ffe7877974723114ce9bf98cd /meta/files
parentf181e72cb82cfc92b831506a267966d049ba485f (diff)
downloadpoky-82c007203386027a6e5d48a84d4c709ee8370696.tar.gz
toolchain-shar-extract.sh: do not allow $ in paths for ext SDK
If you put an $ character in the path, SDK installation fails during the preparation stage, so add this to the disallowed characters. Fixes [YOCTO #8625]. (From OE-Core master rev: 654f4785f719552f4e78e14a5a901c07d00ce68d) (From OE-Core rev: d7bcdb33a675fbdd30596d62961be52aa98c9e05) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/files')
-rw-r--r--meta/files/toolchain-shar-extract.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/files/toolchain-shar-extract.sh b/meta/files/toolchain-shar-extract.sh
index 6af37b723a..35d3c75506 100644
--- a/meta/files/toolchain-shar-extract.sh
+++ b/meta/files/toolchain-shar-extract.sh
@@ -101,9 +101,9 @@ fi
101 101
102if [ "$SDK_EXTENSIBLE" = "1" ]; then 102if [ "$SDK_EXTENSIBLE" = "1" ]; then
103 # We're going to be running the build system, additional restrictions apply 103 # We're going to be running the build system, additional restrictions apply
104 if echo "$target_sdk_dir" | grep -q '[+\ @]'; then 104 if echo "$target_sdk_dir" | grep -q '[+\ @$]'; then
105 echo "The target directory path ($target_sdk_dir) contains illegal" \ 105 echo "The target directory path ($target_sdk_dir) contains illegal" \
106 "characters such as spaces, @ or +. Abort!" 106 "characters such as spaces, @, \$ or +. Abort!"
107 exit 1 107 exit 1
108 fi 108 fi
109else 109else