Fix a bad fix
This commit is contained in:
parent
34d1b6a955
commit
ad4ff97cf4
1 changed files with 2 additions and 3 deletions
|
@ -31,13 +31,12 @@ get_book() { #
|
|||
if [ ! $TREE == "development" ]; then
|
||||
cd ${PROGNAME}-$LFSVRS
|
||||
echo "Checking out $LFSVRS at $PWD in $TREE"
|
||||
git checkout -b ${TREE} ${TREE} >>$LOGDIR/$LOG 2>&1
|
||||
git checkout ${TREE} >>$LOGDIR/$LOG 2>&1
|
||||
fi
|
||||
else
|
||||
cd ${PROGNAME}-$LFSVRS
|
||||
case $PROGNAME in
|
||||
clfs*) git checkout master >>$LOGDIR/$LOG 2>&1
|
||||
git pull >>$LOGDIR/$LOG 2>&1
|
||||
clfs*) git pull >>$LOGDIR/$LOG 2>&1
|
||||
if [ ! $TREE == "development" ]; then
|
||||
git checkout ${TREE} >>$LOGDIR/$LOG 2>&1
|
||||
fi
|
||||
|
|
Reference in a new issue