61-alpha5.8
This commit is contained in:
@@ -197,8 +197,7 @@ function handleSetupEnvironment() {
|
|||||||
function handleAliasEnviron() {
|
function handleAliasEnviron() {
|
||||||
alias get_idf 2>/dev/null
|
alias get_idf 2>/dev/null
|
||||||
ret=$?
|
ret=$?
|
||||||
echo -e "\n$ret\n"
|
if [ $ret == 1 ]; then
|
||||||
if [ $ret -gt 0 ]; then
|
|
||||||
writeToLog "get_idf alias not found, appending to $rcFile"
|
writeToLog "get_idf alias not found, appending to $rcFile"
|
||||||
echo -e "\nalias get_idf='. ${exportScript}'" >> $rcFile
|
echo -e "\nalias get_idf='. ${exportScript}'" >> $rcFile
|
||||||
returnStatus
|
returnStatus
|
||||||
@@ -208,8 +207,7 @@ function handleAliasEnviron() {
|
|||||||
|
|
||||||
alias run_esp_reinstall 2>/dev/null
|
alias run_esp_reinstall 2>/dev/null
|
||||||
ret=$?
|
ret=$?
|
||||||
echo -e "\n$ret\n"
|
if [ $ret == 1 ]; then
|
||||||
if [ $ret -gt 0 ]; then
|
|
||||||
writeToLog "run_esp_reinstall alias not found, appending to $rcFile"
|
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
|
echo "alias run_esp_reinstall='git -C $runningDir pull; cat $runningDir/version.txt; bash $runningDir/reinstall-esp-idf.sh '" >> $rcFile
|
||||||
returnStatus
|
returnStatus
|
||||||
@@ -221,8 +219,7 @@ function handleAliasEnviron() {
|
|||||||
|
|
||||||
alias esp_monitor 2>/dev/null
|
alias esp_monitor 2>/dev/null
|
||||||
ret=$?
|
ret=$?
|
||||||
echo -e "\n$ret\n"
|
if [ $ret == 1 ]; then
|
||||||
if [ $ret -gt 0 ]; then
|
|
||||||
writeToLog "esp_monitor alias not found, appending to $rcFile"
|
writeToLog "esp_monitor alias not found, appending to $rcFile"
|
||||||
echo "alias esp_monitor='tail -n 75 -f $installDir/install.log'" >> $rcFile
|
echo "alias esp_monitor='tail -n 75 -f $installDir/install.log'" >> $rcFile
|
||||||
returnStatus
|
returnStatus
|
||||||
@@ -234,8 +231,7 @@ function handleAliasEnviron() {
|
|||||||
|
|
||||||
alias esp_logs 2>/dev/null
|
alias esp_logs 2>/dev/null
|
||||||
ret=$?
|
ret=$?
|
||||||
echo -e "\n$ret\n"
|
if [ $ret == 1 ]; then
|
||||||
if [ $ret -gt 0 ]; then
|
|
||||||
writeToLog "esp_logs alias not found, appending to $rcFile"
|
writeToLog "esp_logs alias not found, appending to $rcFile"
|
||||||
echo "alias esp_logs='less $installDir/install.log; less $installDir/version-data.txt'" >> $rcFile
|
echo "alias esp_logs='less $installDir/install.log; less $installDir/version-data.txt'" >> $rcFile
|
||||||
returnStatus
|
returnStatus
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
61-alpha5.7
|
61-alpha5.8
|
||||||
Reference in New Issue
Block a user