Fix git submodule call to use BASEDIR.

This commit is contained in:
David Tomaschik
2019-06-04 08:32:15 -07:00
parent 9394758ff9
commit 4b37169735

View File

@@ -49,7 +49,7 @@ prerequisites() {
install_dotfile_dir() {
local SRCDIR="${1}"
local dotfile
local submodule_prune="$(git submodule status -- "${SRCDIR}" 2>/dev/null | \
local submodule_prune="$(git -C "${BASEDIR}" submodule status -- "${SRCDIR}" 2>/dev/null | \
awk '{print $2}' | \
while read submod ; do
echo -n " -o -path ${BASEDIR}/${submod}"