speeding
This commit is contained in:
@@ -9,7 +9,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
rcFile=$HOME/.zshrc # shell rc file
|
rcFile=$HOME/.zshrc # shell rc file
|
||||||
# gitJobs=5 # number of jobs to download from github with
|
gitJobs=3 # number of jobs to download from github with
|
||||||
gitJobs=default # default for no --jobs x arg, integar for a number of jobs
|
gitJobs=default # default for no --jobs x arg, integar for a number of jobs
|
||||||
rebootMins=3 # minutes of warning before reboot
|
rebootMins=3 # minutes of warning before reboot
|
||||||
|
|
||||||
@@ -38,9 +38,9 @@ arg=$1 # just rename the argument var for clarity with the functions
|
|||||||
|
|
||||||
# commands
|
# commands
|
||||||
if [ "$gitJobs" == "default" ]; then
|
if [ "$gitJobs" == "default" ]; then
|
||||||
gitCloneCmd="git clone --recursive --branch $gitBranch https://github.com/espressif/esp-idf $idfDir"
|
gitCloneCmd="git clone --single-branch --recursive --branch $gitBranch https://github.com/espressif/esp-idf $idfDir"
|
||||||
else
|
else
|
||||||
gitCloneCmd="git clone --recursive --jobs $gitJobs --branch $gitBranch https://github.com/espressif/esp-idf $idfDir"
|
gitCloneCmd="git clone --single-branch --recursive --jobs $gitJobs --branch $gitBranch https://github.com/espressif/esp-idf $idfDir"
|
||||||
fi
|
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"
|
||||||
|
|||||||
Reference in New Issue
Block a user