diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-06-20 21:34:21 +0200 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-06-20 21:34:21 +0200 |
commit | 82d4d89371bf7a2bee553561fcabfef2786c36f3 (patch) | |
tree | d58b43b2ae6b7d8333f031488c6f0b6ae79a5aa8 /scripts/xds-utils | |
parent | d21eb59c4f7fe9844646bd60ac34aa1d3cbb792f (diff) |
Create XDT_SDK dir when not existing.
Diffstat (limited to 'scripts/xds-utils')
-rwxr-xr-x | scripts/xds-utils/install-agl-sdks.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/xds-utils/install-agl-sdks.sh b/scripts/xds-utils/install-agl-sdks.sh index fd7a685..7e4eb76 100755 --- a/scripts/xds-utils/install-agl-sdks.sh +++ b/scripts/xds-utils/install-agl-sdks.sh @@ -61,6 +61,8 @@ while [ $# -ne 0 ]; do shift done +[ ! -d ${XDT_SDK} ] && mkdir -p ${XDT_SDK} + if [ "$FILE" = "" ]; then FILE=$(getFile $ARCH) SDK_FILE=${XDT_SDK}/${FILE} |