- Timestamp:
- 04/01/2022 08:26:17 AM (2 years ago)
- Branches:
- ablfs-more, trunk
- Children:
- 924a237
- Parents:
- 30a444a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
jhalfs
r30a444a r9b99ada 244 244 # check_blfs_tools 245 245 simple_message "${SD_BORDER}${nl_}" 246 BLFS_ GIT=${BLFS_GIT:-n}246 BLFS_BRANCH=${BLFS_BRANCH:-n} 247 247 BLFS_WORKING_COPY=${BLFS_WORKING_COPY:-n} 248 BLFS_BRANCH=${BLFS_BRANCH:-n} 249 if [[ "${BLFS_GIT}" = "y" ]]; then 250 BLFS_BRANCH_ID=development 251 BLFS_TREE=trunk 252 elif [[ "${BLFS_WORKING_COPY}" = "y" ]]; then 253 if [[ ! -d "$BLFS_WC_LOCATION/postlfs" ]] ; then 248 if [[ "${BLFS_WORKING_COPY}" = "y" ]] && 249 [[ ! -d "$BLFS_WC_LOCATION/postlfs" ]] ; then 254 250 echo " BLFS tools: This is not a working copy: $BLFS_WC_LOCATION." 255 251 echo " Please rerun make and fix the configuration." 256 252 exit 2 257 fi258 BLFS_TREE=$(cd $BLFS_WC_LOCATION; git branch --show-current)259 BLFS_BRANCH_ID=${BLFS_TREE/trunk/development}260 elif [[ "${BLFS_BRANCH}" = "y" ]] ; then261 case $BLFS_BRANCH_ID in262 *EDIT* ) echo " You forgot to set the BLFS branch or stable book version."263 echo " Please rerun make and fix the configuration."264 exit 2 ;;265 * ) BLFS_TREE=${BLFS_BRANCH_ID#branch-}266 esac267 253 fi 268 254 load_file "${COMMON_DIR}/libs/func_install_blfs"
Note:
See TracChangeset
for help on using the changeset viewer.