Avoid dumping all variables on running.

This commit is contained in:
David Tomaschik
2018-01-06 14:31:14 -08:00
parent 05a3905eb0
commit abc42681af

View File

@@ -57,7 +57,7 @@ function install_git {
fi fi
local REPO="${*: -2:1}" local REPO="${*: -2:1}"
local DESTDIR="${*: -1:1}" local DESTDIR="${*: -1:1}"
set ${@:1:$(($#-2))} set -- ${@:1:$(($#-2))}
if [[ -d ${DESTDIR}/.git ]] ; then if [[ -d ${DESTDIR}/.git ]] ; then
( cd ${DESTDIR} ; git pull -q ) ( cd ${DESTDIR} ; git pull -q )
else else