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
Check dependency tools before running tests
[src/xds/xds-server.git]
/
scripts
/
sdks
/
agl
/
remove
diff --git
a/scripts/sdks/agl/remove
b/scripts/sdks/agl/remove
index
d0f30b1
..
ec98f72
100755
(executable)
--- a/
scripts/sdks/agl/remove
+++ b/
scripts/sdks/agl/remove
@@
-30,3
+30,8
@@
if [ ! -d "${1}" ]; then
fi
rm -rf "${1}" && echo "SDK successfully removed."
+
+# Potentially remove parent directory when it is the latest SDK for this version
+rmdir "$(dirname ${1})"
+
+exit 0