From 7e9e66faa48671422a8dbfeb9d6270b293315424 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sun, 16 Aug 2020 08:05:57 +0000 Subject: [PATCH] Fix name of book repo for tag version greater than 9 --- jhalfs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/jhalfs b/jhalfs index 241b62b..451b73e 100755 --- a/jhalfs +++ b/jhalfs @@ -227,9 +227,11 @@ case $BRANCH_ID in lfs ) LFSVRS=${BRANCH_ID} TREE=tags/${BRANCH_ID} - if (( ${BRANCH_ID:0:1} < 7 )) ; then - TREE=${TREE}/BOOK - fi + case ${BRANCH_ID:0:2} in + 10) ;; + [789]*) ;; + *) TREE=${TREE}/BOOK ;; + esac ;; hlfs ) LFSVRS=${BRANCH_ID}