diff options
author | Andrey Mozzhuhin <amozzhuhin@yandex.ru> | 2021-01-16 11:18:41 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-27 09:32:45 +0000 |
commit | a4d614791ba9b7e98e4b7a67657fadf82b88a345 (patch) | |
tree | 13698fcf214869d3c2251a9d5022d60b9bacd3f8 /scripts/lib | |
parent | f643bfd10eafbc7bcbd7b453b6c7c5b99c20ca8e (diff) | |
download | poky-a4d614791ba9b7e98e4b7a67657fadf82b88a345.tar.gz |
toolchain-shar-extract.sh: Handle special characters in script path
Extracting SDK archive may fail if the script is run using a path with
special characters such as space or asterisk. This is because the shell
interprets such characters after expanding the $0 variable.
Added quotes to all uses of the shell variable $0 to fix this.
(From OE-Core rev: 7d17f261347366a8723691a4a2cb77a1d5992d69)
Signed-off-by: Andrey Mozzhuhin <amozzhuhin@yandex.ru>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0453acbbd45604537090ec7a3295b34309e6eecb)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions