Fix forgotten "git_root" in func_book_parser

This commit is contained in:
Pierre Labastie 2021-05-01 13:50:43 +02:00
parent 1318902ce8
commit 605ea3628b

View file

@ -24,7 +24,7 @@ get_book() { #
# repo. If we've already extracted the commands, move on to getting the # repo. If we've already extracted the commands, move on to getting the
# sources. # sources.
if [ ! -d ${PROGNAME}-${LFSVRS}/.git ]; then if [ ! -d ${PROGNAME}-${LFSVRS}/.git ]; then
git clone $GIT ${PROGNAME}-$LFSVRS >>$LOGDIR/$LOG 2>&1 git clone $GIT/$git_root ${PROGNAME}-$LFSVRS >>$LOGDIR/$LOG 2>&1
if [ ! $TREE == "development" ]; then if [ ! $TREE == "development" ]; then
pushd ${PROGNAME}-$LFSVRS > /dev/null pushd ${PROGNAME}-$LFSVRS > /dev/null
echo "Checking out $LFSVRS at $PWD in $TREE" echo "Checking out $LFSVRS at $PWD in $TREE"