Bug 4488 - SDK installer doesn't handle spaces in path
Summary: SDK installer doesn't handle spaces in path
Status: RESOLVED FIXED
Alias: None
Product: Development Manual
Classification: Documentation
Component: development (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.5 M2
Assignee: Laurentiu Palcu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-05-10 16:28 UTC by Denys Dmytriyenko
Modified: 2013-06-26 09:41 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Denys Dmytriyenko 2013-05-10 16:28:02 UTC
It is known that spaces are not handled gracefully in other parts of Yocto/OE. Need to prevent user to try to extract an SDK into a location containing spaces in path. Requires a check in create_shar() of populate_sdk_base.bbclass to report a useful error instead of failing like this:

$ ./linux-devkit.sh 
Enter target directory for SDK (default: /usr/local/arago-2013.05): /tmp/My\ Docs
./linux-devkit.sh: line 45: Docs: command not found
./linux-devkit.sh: line 46: [: /tmp/My: binary operator expected
readlink: extra operand `Docs'
Try `readlink --help' for more information.
You are about to install the SDK to "". Proceed[Y/n]?
Comment 1 Laurentiu Palcu 2013-06-25 12:00:50 UTC
Sent a patch on the ML.