diff options
Diffstat (limited to 'update-submodule')
-rwxr-xr-x | update-submodule | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/update-submodule b/update-submodule index e1ea58aa..101994cc 100755 --- a/update-submodule +++ b/update-submodule @@ -11,7 +11,7 @@ if [ -n "$(ls -A "${path}")" ]; then exit fi mkdir -p "${path}" -if [ -n "${submoduleDir}" ]; then +if [ -d "${submoduleDir}" ]; then upstream="${submoduleDir}/${path}" if [ ! -d "${upstream}" ]; then git clone -q "${url}" "${upstream}" |