summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-06-20 21:34:21 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-06-20 21:34:21 +0200
commit82d4d89371bf7a2bee553561fcabfef2786c36f3 (patch)
treed58b43b2ae6b7d8333f031488c6f0b6ae79a5aa8 /scripts
parentd21eb59c4f7fe9844646bd60ac34aa1d3cbb792f (diff)
Create XDT_SDK dir when not existing.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/xds-utils/install-agl-sdks.sh2
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}