Changeset 2fd624d for jhalfs


Ignore:
Timestamp:
03/30/2022 12:26:41 PM (2 years ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
ablfs-more, trunk
Children:
2bd2fb8
Parents:
9f89fae
Message:

Get rid of BRANCH_ID, TREE, LFSVRS variables

There is only one variable: COMMIT. Note that this commit
also changes $PROGNAME-$LFSVRS to $BOOK.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jhalfs

    r9f89fae r2fd624d  
    193193fi
    194194
    195 # Book sources envars
    196 BRANCH_ID=${BRANCH_ID:=development}
    197 
    198 case $BRANCH_ID in
    199   development )
    200     TREE=trunk
    201     LFSVRS=development
    202     ;;
    203   *EDIT* )  echo " You forgot to set the branch or stable book version."
    204             echo " Please rerun make and fix the configuration."
    205             exit 2 ;;
    206   branch-* )
    207     LFSVRS=${BRANCH_ID}
    208     TREE=${BRANCH_ID#branch-}
    209     ;;
    210   * )
    211     LFSVRS=${BRANCH_ID}
    212     TREE=${BRANCH_ID}
    213     ;;
    214 esac
    215 
    216195# Set the document location...
    217 BOOK=${BOOK:=$JHALFSDIR/$PROGNAME-$LFSVRS}
     196BOOK=${BOOK:=$JHALFSDIR/book-source}
    218197
    219198
Note: See TracChangeset for help on using the changeset viewer.