Handle Avalonia versions without Numerge submodule
This commit is contained in:
1 parent
a700f4a124
commit
d68bffa85c
1 file changed
+1
-1
@@ -21,7 +21,7 @@ if [[ ! -d "$src/.git" ]]; then
|
|||||||
git clone --depth 1 --branch "$AVALONIA_VERSION" https://github.com/AvaloniaUI/Avalonia.git "$src"
|
git clone --depth 1 --branch "$AVALONIA_VERSION" https://github.com/AvaloniaUI/Avalonia.git "$src"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ! -d "$src/external/Numerge/.git" ]]; then
|
if git -C "$src" config -f .gitmodules --get-regexp path | grep -q 'external/Numerge' && [[ ! -d "$src/external/Numerge/.git" ]]; then
|
||||||
git -C "$src" submodule update --init --depth 1 external/Numerge
|
git -C "$src" submodule update --init --depth 1 external/Numerge
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user