summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-06-26 10:34:00 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-06-26 10:34:00 +0200
commit7d6625857e168424913403656347d0d9b688a3b7 (patch)
treec9cb66496f91111d0eb94baaf78afecefef470e6
parent6217f8ce1791d4e7b5077d644711a52d0920431a (diff)
Fix FILE decoding when --file option is set with a full path.
-rwxr-xr-xscripts/xds-utils/install-agl-sdks.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/xds-utils/install-agl-sdks.sh b/scripts/xds-utils/install-agl-sdks.sh
index 8c0ee84..9fbacbb 100755
--- a/scripts/xds-utils/install-agl-sdks.sh
+++ b/scripts/xds-utils/install-agl-sdks.sh
@@ -80,6 +80,7 @@ elif [ ! -f $FILE ]; then
exit 1
else
DIR=$(cd $(dirname $FILE); pwd)
+ FILE=$(basename $FILE)
SDK_FILE=${DIR}/${FILE}
fi