From 0d5eabf34b322f100ab1948386e00a3c57e3f32b Mon Sep 17 00:00:00 2001 From: Jeremy Huntwork Date: Thu, 1 Dec 2005 00:56:07 +0000 Subject: [PATCH] Merged rev 2229 to 0.2 branch --- jhalfs | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/jhalfs b/jhalfs index 2c7db2b..0bb794e 100755 --- a/jhalfs +++ b/jhalfs @@ -176,11 +176,14 @@ get_book() { extract_commands fi else - if [ $LFSVRS = development ] ; then - svn co $SVN/LFS/trunk/BOOK lfs-$LFSVRS >>$LOGDIR/$LOG 2>&1 - else - svn co $SVN/LFS/branches/$LFSVRS/BOOK lfs-$LFSVRS >>$LOGDIR/$LOG 2>&1 - fi + case $LFSVRS in + development) + svn co $SVN/LFS/trunk/BOOK lfs-$LFSVRS >>$LOGDIR/$LOG 2>&1 ;; + alphabetical) + svn co $SVN/LFS/branches/$LFSVRS/BOOK lfs-$LFSVRS >>$LOGDIR/$LOG 2>&1 ;; + 6.1.1) + svn co $SVN/LFS/tags/$LFSVRS/BOOK lfs-$LFSVRS >>$LOGDIR/$LOG 2>&1 ;; + esac echo -ne "done\n" # Set the canonical book version cd $JHALFSDIR @@ -974,7 +977,7 @@ while test $# -gt 0 ; do dev* | SVN | trunk ) LFSVRS=development ;; - testing | 6.1.1 ) + 6.1.1 ) LFSVRS=6.1.1 ;;