Fix a bad fix

This commit is contained in:
Pierre Labastie 2013-10-03 10:28:37 +00:00
parent 34d1b6a955
commit ad4ff97cf4

View file

@ -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