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
61 B
Bash
Executable file
6 lines
61 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
. $IDF_PATH/export.sh
|
|
|
|
exec "$@"
|