This commit is contained in:
2024-11-09 03:56:31 -07:00
parent 938797c8c5
commit a77e890ab7
+2 -2
View File
@@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
cronVers=27 # version of this script cronVers=28 # version of this script
sleepSecs=3 # seconds of warning to wait for user to log out sleepSecs=3 # seconds of warning to wait for user to log out
log=$HOME/esp/install.log log=$HOME/esp/install.log
@@ -43,7 +43,7 @@ espressifLocation=$HOME/.espressif
customBinLocation=$installDir/.custom_bin customBinLocation=$installDir/.custom_bin
customBinFrom=$runningDir/custom_bin customBinFrom=$runningDir/custom_bin
write_to_log "$(date '+%d/%m/%Y-%H.%M.%S %Z (%s)')\nvars:\n\tshell running: $SHELL\n\tmyUser: $myUser\n\tcronVers: $cronVers\n\tgitJobs: $gitJobs\n\tlog: $log\n\tsleepSecs: $sleepSecs\n\tinstallDir: $installDir\n\tgitBranch: $gitBranch\n\trunningDir: $runningDir\n\tidfDir: $idfDir\n\tespressifLocation: $espressifLocation\n\tcustomBinLocation: $customBinLocation\n\tcustomBinFrom: $customBinFrom" write_to_log "$(date '+%d/%m/%Y-%H.%M.%S %Z (%s)')\nvars:\n\tmyUser: $myUser\n\tcronVers: $cronVers\n\tgitJobs: $gitJobs\n\tlog: $log\n\tsleepSecs: $sleepSecs\n\tinstallDir: $installDir\n\tgitBranch: $gitBranch\n\trunningDir: $runningDir\n\tidfDir: $idfDir\n\tespressifLocation: $espressifLocation\n\tcustomBinLocation: $customBinLocation\n\tcustomBinFrom: $customBinFrom"
return_status return_status
if ! [ -d $installDir ]; then if ! [ -d $installDir ]; then