61-alpha1.2
This commit is contained in:
@@ -216,23 +216,41 @@ function handleDownloadInstall() {
|
|||||||
writeToLog "$idfDir not found, skipping delete\n"
|
writeToLog "$idfDir not found, skipping delete\n"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
istartTime=$(date '+%s')
|
||||||
writeToLog "CLONING esp-idf, branch $gitBranch with $gitJobs jobs to $idfDir"
|
writeToLog "CLONING esp-idf, branch $gitBranch with $gitJobs jobs to $idfDir"
|
||||||
eval "$gitCloneCmd"
|
eval "$gitCloneCmd"
|
||||||
returnStatus
|
returnStatus
|
||||||
|
iendTime=$(date '+%s')
|
||||||
|
installerTime=$(($iendTime-$istartTime))
|
||||||
|
writeToLog "Git clone completed in $installerTime seconds\n"
|
||||||
else
|
else
|
||||||
writeToLog "Setting for update mode\n"
|
writeToLog "Setting for update mode\n"
|
||||||
|
|
||||||
|
istartTime=$(date '+%s')
|
||||||
writeToLog "UPDATING esp-idf, branch $gitBranch with $gitJobs jobs to $idfDir"
|
writeToLog "UPDATING esp-idf, branch $gitBranch with $gitJobs jobs to $idfDir"
|
||||||
eval "$gitUpdateCmd"
|
eval "$gitUpdateCmd"
|
||||||
returnStatus
|
returnStatus
|
||||||
|
iendTime=$(date '+%s')
|
||||||
|
installerTime=$(($iendTime-$istartTime))
|
||||||
|
writeToLog "Git update completed in $installerTime seconds\n"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
istartTime=$(date '+%s')
|
||||||
writeToLog "Executing installer\n"
|
writeToLog "Executing installer\n"
|
||||||
eval "$installCmd"
|
eval "$installCmd"
|
||||||
returnStatus
|
returnStatus
|
||||||
|
iendTime=$(date '+%s')
|
||||||
|
installerTime=$(($iendTime-$istartTime))
|
||||||
|
writeToLog "Installer completed in $installerTime seconds\n"
|
||||||
|
|
||||||
|
istartTime=$(date '+%s')
|
||||||
writeToLog "Executing extra tools installer\n"
|
writeToLog "Executing extra tools installer\n"
|
||||||
eval "$toolsInstallCmd"
|
eval "$toolsInstallCmd"
|
||||||
returnStatus
|
returnStatus
|
||||||
|
iendTime=$(date '+%s')
|
||||||
|
installerTime=$(($iendTime-$istartTime))
|
||||||
|
writeToLog "Extra tools installer completed in $installerTime seconds\n"
|
||||||
|
|
||||||
|
|
||||||
writeToLog "getting the commit hash\n"
|
writeToLog "getting the commit hash\n"
|
||||||
commitHash=$(git -C $idfDir rev-parse HEAD)
|
commitHash=$(git -C $idfDir rev-parse HEAD)
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
61-alpha1.1
|
61-alpha1.2
|
||||||
Reference in New Issue
Block a user