mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
It'd not be recognized as a shell file so it'd get CRLF line endings on Windows which doesn't work. Also added a shebang. Also remove get-cygwin-deps.sh, it is long outdated. Correct instructions are on the Mono website.
11 lines
536 B
Bash
Executable File
11 lines
536 B
Bash
Executable File
#!/bin/sh
|
|
SUBMODULE_ERROR='Could not recursively update all git submodules. You may experience compilation problems if some submodules are out of date'
|
|
SUBMODULE_OK='Git submodules updated successfully'
|
|
if test -d .git; then \
|
|
(git submodule update --init --recursive && echo $SUBMODULE_OK) \
|
|
|| (git submodule init && git submodule update --recursive && echo $SUBMODULE_OK) \
|
|
|| (git submodule init && git submodule update && echo $SUBMODULE_ERROR) \
|
|
|| (echo 'Git submodules could not be updated. Compilation will fail') \
|
|
fi
|
|
|