From ad4ff97cf48cf82454fae91d28cb29569e383729 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Thu, 3 Oct 2013 10:28:37 +0000 Subject: [PATCH] Fix a bad fix --- common/libs/func_book_parser | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/common/libs/func_book_parser b/common/libs/func_book_parser index 401afbc..003d7e3 100644 --- a/common/libs/func_book_parser +++ b/common/libs/func_book_parser @@ -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