diff options
| -rw-r--r-- | meta/files/toolchain-shar-extract.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/files/toolchain-shar-extract.sh b/meta/files/toolchain-shar-extract.sh index 27a16074b7..3624940430 100644 --- a/meta/files/toolchain-shar-extract.sh +++ b/meta/files/toolchain-shar-extract.sh | |||
| @@ -136,7 +136,8 @@ mkdir -p $target_sdk_dir >/dev/null 2>&1 | |||
| 136 | # if don't have the right to access dir, gain by sudo | 136 | # if don't have the right to access dir, gain by sudo |
| 137 | if [ ! -x $target_sdk_dir -o ! -w $target_sdk_dir -o ! -r $target_sdk_dir ]; then | 137 | if [ ! -x $target_sdk_dir -o ! -w $target_sdk_dir -o ! -r $target_sdk_dir ]; then |
| 138 | if [ "$SDK_EXTENSIBLE" = "1" ]; then | 138 | if [ "$SDK_EXTENSIBLE" = "1" ]; then |
| 139 | echo "Unable to access \"$target_sdk_dir\"." | 139 | echo "Unable to access \"$target_sdk_dir\", will not attempt to use" \ |
| 140 | "sudo as as extensible SDK cannot be used as root." | ||
| 140 | exit 1 | 141 | exit 1 |
| 141 | fi | 142 | fi |
| 142 | 143 | ||
