Fix reusing clone dir (2nd try)
This commit is contained in:
parent
43696edbc8
commit
bdf3057633
1 changed files with 6 additions and 2 deletions
|
@ -348,8 +348,12 @@ case "${BUILDTOOL_CPUPOWER}" in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Clone repository
|
# Clone repository
|
||||||
infoh "Cloning repository"
|
if [ "${BUILDTOOL_CLONEDIR_CONFLICT}" == "r" ] || [ "${BUILDTOOL_CLONEDIR_CONFLICT}" == "R" ]; then
|
||||||
git clone "${BUILDTOOL_REPOSITORY}" "${BUILDTOOL_CLONEDIR}"
|
warnh "Skipping cloning process"
|
||||||
|
else
|
||||||
|
infoh "Cloning repository"
|
||||||
|
git clone "${BUILDTOOL_REPOSITORY}" "${BUILDTOOL_CLONEDIR}"
|
||||||
|
fi
|
||||||
cd "${BUILDTOOL_CLONEDIR}"
|
cd "${BUILDTOOL_CLONEDIR}"
|
||||||
|
|
||||||
# Print debug information
|
# Print debug information
|
||||||
|
|
Loading…
Reference in a new issue