Code Review
/
src
/
xds
/
xds-server.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add gitreview file for jellyfish branch
[src/xds/xds-server.git]
/
scripts
/
sdks
/
agl
/
add
diff --git
a/scripts/sdks/agl/add
b/scripts/sdks/agl/add
index
839d647
..
f602fa9
100755
(executable)
--- a/
scripts/sdks/agl/add
+++ b/
scripts/sdks/agl/add
@@
-93,6
+93,8
@@
fi
# Compute uuid when needed
if [ "$UUID" = "" ] && [ "$URL" != "" ]; then
UUID=$(echo "$URL" | md5sum |cut -d' ' -f1)
# Compute uuid when needed
if [ "$UUID" = "" ] && [ "$URL" != "" ]; then
UUID=$(echo "$URL" | md5sum |cut -d' ' -f1)
+elif [ "$SDK_FILE" != "" ]; then
+ UUID=$(echo $(basename $SDK_FILE) | md5sum |cut -d' ' -f1)
else
echo "UUID value must be specify using --uuid option."
exit 1
else
echo "UUID value must be specify using --uuid option."
exit 1