bug fixes for bash
This commit is contained in:
@@ -37,7 +37,7 @@ done
|
||||
if [ $COUNTER -gt 0 ]; then
|
||||
echo -e "\nEnter TTY Number You'd Like:"
|
||||
read tty
|
||||
ttyselect=$devarr[(($tty+1))]
|
||||
ttyselect=$devarr[$tty+1]
|
||||
else
|
||||
echo -e "\nNo Serial Devices Found, Select one later with 'changeport'\n"
|
||||
fi
|
||||
|
||||
@@ -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
|
||||
|
||||
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
|
||||
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
|
||||
|
||||
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"
|
||||
installCmd="$idfDir/install.sh all"
|
||||
toolsInstallCmd="python $idfDir/tools/idf_tools.py install all"
|
||||
|
||||
Reference in New Issue
Block a user