6-release

This commit is contained in:
2024-11-13 20:32:36 -07:00
parent 6122ad79c3
commit 0984790959
+6 -10
View File
@@ -8,9 +8,8 @@ rcFile=$HOME/.zshrc # shell rc file
gitJobs=default gitJobs=default
rebootMins=3 # minutes of warning before reboot rebootMins=3 # minutes of warning before reboot
# get us our FUCKING ALIASES HOLY FUCK GOD DAMN SHIT FUCK IT # get us our FUCKING ALIASES HOLY FUCK GOD DAMN SHIT FUCK IT\
# 2?/dev/null is to redirect any errors source $rcFile 2>/dev/null # >2?/dev/null is to redirect any errors
source $rcFile 2>/dev/null
# echo -e "\n\nSource $rcFile\n\t retval: $?\n\n" # echo -e "\n\nSource $rcFile\n\t retval: $?\n\n"
if [ -z $ESPIDF_INSTALLDIR ]; then if [ -z $ESPIDF_INSTALLDIR ]; then
@@ -33,9 +32,11 @@ scriptVers=$(cat $runningDir/version.txt) # make sure version.txt does NOT have
arg=$1 # just rename the argument var for clarity with the functions arg=$1 # just rename the argument var for clarity with the functions
# commands # commands
if [ "$gitJobs" == "default" ]; then
gitCloneCmd="git clone --recursive --branch $gitBranch https://github.com/espressif/esp-idf $idfDir" gitCloneCmd="git clone --recursive --branch $gitBranch https://github.com/espressif/esp-idf $idfDir"
else
# gitCloneCmd="git clone --recursive --jobs $gitJobs --branch $gitBranch https://github.com/espressif/esp-idf $idfDir" gitCloneCmd="git clone --recursive --jobs $gitJobs --branch $gitBranch https://github.com/espressif/esp-idf $idfDir"
fi
# gitCloneCmd="git clone --recursive --single-branch --jobs $gitJobs --branch $gitBranch https://github.com/espressif/esp-idf $idfDir" # gitCloneCmd="git clone --recursive --single-branch --jobs $gitJobs --branch $gitBranch https://github.com/espressif/esp-idf $idfDir"
@@ -272,11 +273,6 @@ function handleDownloadInstall() {
if [[ "$idfGet" == "download" || ! -d "$idfDir" ]]; then if [[ "$idfGet" == "download" || ! -d "$idfDir" ]]; then
writeToLog "Setting for download mode\n" writeToLog "Setting for download mode\n"
# writeToLog "Deleting backup export script $exportBackupScript"
# rm -f $exportBackupScript
# returnStatus
# rmExportBackupChk=$?
if [ -d "$idfDir" ]; then if [ -d "$idfDir" ]; then
writeToLog "Deleting $idfDir" writeToLog "Deleting $idfDir"
rm -rf $idfDir rm -rf $idfDir