61-alpha6

This commit is contained in:
2024-11-12 22:46:12 -07:00
parent a039182a2d
commit a118faa1c1
2 changed files with 46 additions and 46 deletions
+45 -45
View File
@@ -195,51 +195,51 @@ function handleSetupEnvironment() {
}
function handleAliasEnviron() {
alias get_idf 2>/dev/null
ret=$?
if [ $ret == 1 ]; then
writeToLog "get_idf alias not found, appending to $rcFile"
echo -e "\nalias get_idf='. ${exportScript}'" >> $rcFile
returnStatus
else
writeToLog "get_idf alias already installed, skipping\n"
fi
alias run_esp_reinstall 2>/dev/null
ret=$?
if [ $ret == 1 ]; then
writeToLog "run_esp_reinstall alias not found, appending to $rcFile"
echo "alias run_esp_reinstall='git -C $runningDir pull; cat $runningDir/version.txt; bash $runningDir/reinstall-esp-idf.sh '" >> $rcFile
returnStatus
aliasRunEspReinstallChk=$?
else
writeToLog "run_esp_reinstall alias already installed, skipping\n"
aliasRunEspReinstallChk=0
fi
alias esp_monitor 2>/dev/null
ret=$?
if [ $ret == 1 ]; then
writeToLog "esp_monitor alias not found, appending to $rcFile"
echo "alias esp_monitor='tail -n 75 -f $installDir/install.log'" >> $rcFile
returnStatus
aliasEspMonitorchk=$?
else
writeToLog "esp_monitor alias already installed, skipping\n"
aliasEspMonitorchk=0
fi
alias esp_logs 2>/dev/null
ret=$?
if [ $ret == 1 ]; then
writeToLog "esp_logs alias not found, appending to $rcFile"
echo "alias esp_logs='less $installDir/install.log; less $installDir/version-data.txt'" >> $rcFile
returnStatus
aliasEspLogsChk=$?
else
writeToLog "esp_logs alias already installed, skipping\n"
aliasEspLogsChk=0
fi
# alias get_idf 2>/dev/null
# ret=$?
# if [ $ret == 1 ]; then
# writeToLog "get_idf alias not found, appending to $rcFile"
# echo -e "\nalias get_idf='. ${exportScript}'" >> $rcFile
# returnStatus
# else
# writeToLog "get_idf alias already installed, skipping\n"
# fi
#
# alias run_esp_reinstall 2>/dev/null
# ret=$?
# if [ $ret == 1 ]; then
# writeToLog "run_esp_reinstall alias not found, appending to $rcFile"
# echo "alias run_esp_reinstall='git -C $runningDir pull; cat $runningDir/version.txt; bash $runningDir/reinstall-esp-idf.sh '" >> $rcFile
# returnStatus
# aliasRunEspReinstallChk=$?
# else
# writeToLog "run_esp_reinstall alias already installed, skipping\n"
# aliasRunEspReinstallChk=0
# fi
#
# alias esp_monitor 2>/dev/null
# ret=$?
# if [ $ret == 1 ]; then
# writeToLog "esp_monitor alias not found, appending to $rcFile"
# echo "alias esp_monitor='tail -n 75 -f $installDir/install.log'" >> $rcFile
# returnStatus
# aliasEspMonitorchk=$?
# else
# writeToLog "esp_monitor alias already installed, skipping\n"
# aliasEspMonitorchk=0
# fi
#
# alias esp_logs 2>/dev/null
# ret=$?
# if [ $ret == 1 ]; then
# writeToLog "esp_logs alias not found, appending to $rcFile"
# echo "alias esp_logs='less $installDir/install.log; less $installDir/version-data.txt'" >> $rcFile
# returnStatus
# aliasEspLogsChk=$?
# else
# writeToLog "esp_logs alias already installed, skipping\n"
# aliasEspLogsChk=0
# fi
if [ -z $ESPIDF_INSTALLDIR ]; then
writeToLog "ESPIDF_INSTALLDIR environment variable not found, appending to ${rcFile}"
+1 -1
View File
@@ -1 +1 @@
61-alpha5.8
61-alpha6