Changeset e25788e for install-blfs-tools.sh
- Timestamp:
- 11/09/2021 12:33:49 PM (3 years ago)
- Branches:
- ablfs-more, legacy, trunk
- Children:
- f756851
- Parents:
- 610a5c4
- git-author:
- Pierre Labastie <pierre.labastie@…> (11/09/2021 12:31:53 PM)
- git-committer:
- Pierre Labastie <pierre.labastie@…> (11/09/2021 12:33:49 PM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
install-blfs-tools.sh
r610a5c4 re25788e 125 125 126 126 #*******************************************************************# 127 [[ $VERBOSITY > 0 ]] && echo -n "Loading function <func_check_version.sh> ..."127 [[ $VERBOSITY > 0 ]] && echo -n "Loading function <func_check_version.sh> ..." 128 128 source $COMMON_DIR/libs/func_check_version.sh 129 129 [[ $? > 0 ]] && echo " function module did not load.." && exit 2 130 [[ $VERBOSITY > 0 ]] && echo " OK"130 [[ $VERBOSITY > 0 ]] && echo " OK" 131 131 132 132 [[ $VERBOSITY > 0 ]] && echo "${SD_BORDER}${nl_}" … … 150 150 151 151 # Install the files 152 [[ $VERBOSITY > 0 ]] && echo -n Populating the ${BUILDDIR}${BLFS_ROOT} directory152 [[ $VERBOSITY > 0 ]] && echo -n "Populating the ${BUILDDIR}${BLFS_ROOT} directory " 153 153 [[ ! -d ${BUILDDIR}${BLFS_ROOT} ]] && mkdir -pv ${BUILDDIR}${BLFS_ROOT} 154 154 rm -rf ${BUILDDIR}${BLFS_ROOT}/* … … 160 160 161 161 # Clean-up 162 [[ $VERBOSITY > 0 ]] && echo Cleaning the ${BUILDDIR}${BLFS_ROOT} directory162 [[ $VERBOSITY > 0 ]] && echo -n "Cleaning the ${BUILDDIR}${BLFS_ROOT} directory " 163 163 # We do not want to keep an old version of the book: 164 164 rm -rf ${BUILDDIR}${BLFS_ROOT}/$BLFS_XML … … 176 176 [[ $VERBOSITY > 0 ]] && echo "... OK" 177 177 178 [[ $VERBOSITY > 0 ]] &&179 180 178 [[ -z "$BLFS_BOOK" ]] || 181 179 [[ $BLFS_BOOK = $BUILDDIR$BLFS_ROOT/$BLFS_XML ]] || { 182 echo "Retrieving BLFS working copy (may take some time)" && 180 [[ $VERBOSITY > 0 ]] && echo -n "Retrieving BLFS working copy (may take some time) " 183 181 cp -a $BLFS_BOOK $BUILDDIR$BLFS_ROOT/$BLFS_XML 182 [[ $VERBOSITY > 0 ]] && echo "... OK" 184 183 } 185 184 186 185 [[ -z "$LFS_BOOK" ]] || 187 186 [[ $LFS_BOOK = $BUILDDIR$BLFS_ROOT/$LFS_XML ]] || { 188 echo "Retrieving the LFS working copy (may take some time)" && 187 [[ $VERBOSITY > 0 ]] && echo -n "Retrieving the LFS working copy (may take some time) " 189 188 cp -a $LFS_BOOK $BUILDDIR$BLFS_ROOT/$LFS_XML 189 [[ $VERBOSITY > 0 ]] && echo "... OK" 190 190 } 191 191 192 [[ $VERBOSITY > 0 ]] && echo "Initializing the BLFS tool directory " 192 193 make -j1 -C $BUILDDIR$BLFS_ROOT \ 193 194 TRACKING_DIR=$TRACKING_DIR \
Note:
See TracChangeset
for help on using the changeset viewer.