summaryrefslogtreecommitdiff
path: root/meta/files/toolchain-shar-extract.sh
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>2015-12-01 21:30:53 +0000
commit654f4785f719552f4e78e14a5a901c07d00ce68d (patch)
treea239f1544793c9d75a65ac2f3766bf8d9164fb33 /meta/files/toolchain-shar-extract.sh
parent5ef9249bbae4f08eb9b981d10f31bd3348449c82 (diff)
downloadopenembedded-core-654f4785f719552f4e78e14a5a901c07d00ce68d.tar.gz
openembedded-core-654f4785f719552f4e78e14a5a901c07d00ce68d.tar.bz2
openembedded-core-654f4785f719552f4e78e14a5a901c07d00ce68d.zip
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]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/files/toolchain-shar-extract.sh')
-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 98b9f1cd98..954b6b3f6b 100644
--- a/meta/files/toolchain-shar-extract.sh
+++ b/meta/files/toolchain-shar-extract.sh
@@ -101,9 +101,9 @@ fi
if [ "$SDK_EXTENSIBLE" = "1" ]; then
# We're going to be running the build system, additional restrictions apply
- if echo "$target_sdk_dir" | grep -q '[+\ @]'; then
+ if echo "$target_sdk_dir" | grep -q '[+\ @$]'; then
echo "The target directory path ($target_sdk_dir) contains illegal" \
- "characters such as spaces, @ or +. Abort!"
+ "characters such as spaces, @, \$ or +. Abort!"
exit 1
fi
else