From bb2862d520bd610ec27dea6f3d45ef362b275d65 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Mon, 25 Aug 2014 13:14:38 +0000 Subject: [PATCH] Some branches have a BOOK subdirectory and some have not. Trying to work around that... --- jhalfs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/jhalfs b/jhalfs index a17d022..ddbb871 100755 --- a/jhalfs +++ b/jhalfs @@ -172,7 +172,10 @@ case $BRANCH_ID in case $PROGNAME in lfs ) LFSVRS=${BRANCH_ID} - TREE=branches/${BRANCH_ID#branch-}/BOOK + TREE=branches/${BRANCH_ID#branch-} + if [ ${BRANCH_ID#branch-} = 6 ]; then + TREE=${TREE}/BOOK + fi ;; clfs* ) LFSVRS=${BRANCH_ID}