OVMS3-idf/tools/ci/get-full-sources.sh
Ivan Grokhotkov e94288da31 global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs
Using the method from @cemeyer
(https://github.com/espressif/esp-idf/pull/3166):

find . -name \*.sh -exec sed -i "" -e 's|^#!.*bin/bash|#!/usr/bin/env bash|' {} +

Closes https://github.com/espressif/esp-idf/pull/3166.
2020-04-03 01:10:02 +02:00

7 lines
238 B
Bash
Executable file

#!/usr/bin/env bash
# Now git submodules are redirected to mirror automatically according to relative URLs in .gitmodules
echo "WARNING: This script is deprecated. Use standard ways to obtain git submodules"
git submodule update --init