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.
6 lines
238 B
Bash
Executable file
6 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
|