Merge branch 'bugfix/bash_bin_env' into 'master'

global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs

Closes IDFGH-708

See merge request espressif/esp-idf!8235
This commit is contained in:
Anton Maklakov
2020-04-06 17:51:43 +08:00
42 changed files with 49 additions and 49 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
rm -rf build && mkdir build && cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=$IDF_PATH/tools/cmake/toolchain-esp32.cmake -DTARGET=esp32 -GNinja
cmake --build .
cmake --build .

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
rm -rf build && mkdir build && cd build
cmake ..
cmake --build .
cmake --build .

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
cd build
python $IDF_PATH/components/esptool_py/esptool/esptool.py -p $1 write_flash @flash_project_args
python $IDF_PATH/tools/idf_monitor.py -p $1 idf_as_lib.elf
python $IDF_PATH/tools/idf_monitor.py -p $1 idf_as_lib.elf

View File

@@ -1,3 +1,3 @@
#!/bin/bash
#!/usr/bin/env bash
cd build
./idf_as_lib.elf
./idf_as_lib.elf

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Demonstrates command-line interface of Partition Tool, parttool.py
#
@@ -70,4 +70,4 @@ assert_file_same read.bin blank.bin "Contents of storage partition not fully era
# Example end and cleanup
printf "\nPartition tool operations performed successfully\n"
rm -rf app.bin read.bin blank.bin write.bin
rm -rf app.bin read.bin blank.bin write.bin

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Demonstrates command-line interface of OTA Partitions Tool, otatool.py
#
@@ -92,4 +92,4 @@ assert_running_partition ota_1
# Example end and cleanup
printf "\nPartition tool operations performed successfully\n"
rm -rf app0.bin app1.bin
rm -rf app0.bin app1.bin