This commit is contained in:
David Tomaschik
2017-11-01 08:54:37 -07:00
2 changed files with 5 additions and 1 deletions

View File

@@ -60,7 +60,11 @@ function install_git {
if [[ -d ${DESTDIR}/.git ]] ; then
( cd ${DESTDIR} ; git pull -q )
else
git clone ${REPO} ${DESTDIR}
if [[ ${MINIMAL} -eq 1 ]] ; then
git clone --depth 1 ${REPO} ${DESTDIR}
else
git clone ${REPO} ${DESTDIR}
fi
fi
}

Binary file not shown.