* update 'version' in platform.txt (#1619)
This commit is contained in:
parent
c77aed4ac4
commit
9925772db0
@ -229,6 +229,7 @@ find $outdir -name '*.DS_Store' -exec rm -f {} \;
|
|||||||
# handles tool paths differently when package is installed in hardware folder
|
# handles tool paths differently when package is installed in hardware folder
|
||||||
echo " - updating platform.txt..."
|
echo " - updating platform.txt..."
|
||||||
cat $srcdir/platform.txt | \
|
cat $srcdir/platform.txt | \
|
||||||
|
sed "s/version=.*/version=$ver$extent/g" | \
|
||||||
sed 's/runtime.tools.xtensa-esp32-elf-gcc.path={runtime.platform.path}\/tools\/xtensa-esp32-elf//g' | \
|
sed 's/runtime.tools.xtensa-esp32-elf-gcc.path={runtime.platform.path}\/tools\/xtensa-esp32-elf//g' | \
|
||||||
sed 's/tools.esptool.path={runtime.platform.path}\/tools\/esptool/tools.esptool.path=\{runtime.tools.esptool.path\}/g' \
|
sed 's/tools.esptool.path={runtime.platform.path}\/tools\/esptool/tools.esptool.path=\{runtime.tools.esptool.path\}/g' \
|
||||||
> $outdir/platform.txt
|
> $outdir/platform.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user