From 6062dff07822354920c5d7b061d98862cbb245ac Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 18 Feb 2020 09:29:04 +0100 Subject: update-submodule: fix check --- update-submodule | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'update-submodule') 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}" -- cgit v1.2.3-54-g00ecf