diff options
author | Erich Eckner <git@eckner.net> | 2020-02-18 09:29:04 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-02-18 09:29:04 +0100 |
commit | 6062dff07822354920c5d7b061d98862cbb245ac (patch) | |
tree | 485fa9b49b476cb79d3528ebdca28ed0c3971884 /update-submodule | |
parent | 114aed2a8d54c93eeac1d28c4d3e9c3db64306df (diff) | |
download | archlinuxewe-6062dff07822354920c5d7b061d98862cbb245ac.tar.xz |
update-submodule: fix check
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 e1ea58aa8..101994ccd 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}" |