diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-06-26 10:34:00 +0200 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-06-26 10:34:00 +0200 |
commit | 7d6625857e168424913403656347d0d9b688a3b7 (patch) | |
tree | c9cb66496f91111d0eb94baaf78afecefef470e6 /scripts/xds-utils | |
parent | 6217f8ce1791d4e7b5077d644711a52d0920431a (diff) |
Fix FILE decoding when --file option is set with a full path.
Diffstat (limited to 'scripts/xds-utils')
-rwxr-xr-x | scripts/xds-utils/install-agl-sdks.sh | 1 |
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 |