bug fixes for bash

This commit is contained in:
2025-08-18 18:20:47 -06:00
parent 6232bf8e3c
commit c2768e28a4
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ done
if [ $COUNTER -gt 0 ]; then if [ $COUNTER -gt 0 ]; then
echo -e "\nEnter TTY Number You'd Like:" echo -e "\nEnter TTY Number You'd Like:"
read tty read tty
ttyselect=$devarr[(($tty+1))] ttyselect=$devarr[$tty+1]
else else
echo -e "\nNo Serial Devices Found, Select one later with 'changeport'\n" echo -e "\nNo Serial Devices Found, Select one later with 'changeport'\n"
fi fi
+3 -3
View File
@@ -82,13 +82,13 @@ scriptVers=$(cat "$runningDir/version.txt") # make sure version.txt does NOT hav
arg=$1 # just rename the argument var for clarity with the functions arg=$1 # just rename the argument var for clarity with the functions
if [ "$gitJobs" == "default" ]; then if [ "$gitJobs" == "default" ]; then
gitCloneCmd="git clone --single-branch --depth 1 --recursive --branch $gitBranch https://github.com/espressif/esp-idf $idfDir" gitCloneCmd="git clone --single-branch --depth=1 --recursive --branch $gitBranch https://github.com/espressif/esp-idf $idfDir"
else else
gitCloneCmd="git clone --single-branch --depth 1 --recursive --jobs $gitJobs --branch $gitBranch https://github.com/espressif/esp-idf $idfDir" gitCloneCmd="git clone --single-branch --depth=1 --recursive --jobs $gitJobs --branch $gitBranch https://github.com/espressif/esp-idf $idfDir"
fi fi
gitUpdateCmd="git -C $idfDir reset --hard; git -C $idfDir clean -df; git -C $idfDir pull $idfDir" # mayhapsnasst? gitUpdateCmd="git -C $idfDir reset --hard; git -C $idfDir clean -df; git -C $idfDir pull $idfDir" # mayhapsnasst?
gitDevKits="git clone --single-branch --depth 1 --jobs $gitJobs --recursive https://github.com/espressif/esp-dev-kits.git $installDir/esp-dev-kits" gitDevKits="git clone --single-branch --depth=1 --jobs $gitJobs --recursive https://github.com/espressif/esp-dev-kits.git $installDir/esp-dev-kits"
gitDevKitsUpdate="git -C $installDir/esp-dev-kits reset --hard; git -C $installDir/esp-dev-kits clean -df; git -C $installDir/esp-dev-kits pull" gitDevKitsUpdate="git -C $installDir/esp-dev-kits reset --hard; git -C $installDir/esp-dev-kits clean -df; git -C $installDir/esp-dev-kits pull"
installCmd="$idfDir/install.sh all" installCmd="$idfDir/install.sh all"
toolsInstallCmd="python $idfDir/tools/idf_tools.py install all" toolsInstallCmd="python $idfDir/tools/idf_tools.py install all"