[jhalfs] branch trunk updated: install-blfs-tools.sh: Minor tidy up

"Git Owner" ([email protected] via alfs-discuss Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.automated
Message-ID <163646124735.10384.239042963609347260@rivendell.linuxfromscratch.org>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository jhalfs.

The following commit(s) were added to refs/heads/trunk by this push:
     new e25788e  install-blfs-tools.sh: Minor tidy up
e25788e is described below

commit e25788e8465f98e89bd4a75204e1ba32ca1bef19
Author: Pierre Labastie <[email protected]>
AuthorDate: Tue Nov 9 13:31:53 2021 +0100

    install-blfs-tools.sh: Minor tidy up
---
 install-blfs-tools.sh | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/install-blfs-tools.sh b/install-blfs-tools.sh
index 0696262..8fd3009 100755
--- a/install-blfs-tools.sh
+++ b/install-blfs-tools.sh
@@ -124,10 +124,10 @@ fi
 [[ $VERBOSITY > 0 ]] && echo "${SD_BORDER}${nl_}"
 
 #*******************************************************************#
-[[ $VERBOSITY > 0 ]] && echo -n "Loading function <func_check_version.sh>..."
+[[ $VERBOSITY > 0 ]] && echo -n "Loading function <func_check_version.sh> ..."
 source $COMMON_DIR/libs/func_check_version.sh
 [[ $? > 0 ]] && echo " function module did not load.." && exit 2
-[[ $VERBOSITY > 0 ]] && echo "OK"
+[[ $VERBOSITY > 0 ]] && echo " OK"
 
 [[ $VERBOSITY > 0 ]] && echo "${SD_BORDER}${nl_}"
 
@@ -149,7 +149,7 @@ echo
 echo "${SD_BORDER}${nl_}"
 
 # Install the files
-[[ $VERBOSITY > 0 ]] && echo -n Populating the ${BUILDDIR}${BLFS_ROOT} directory
+[[ $VERBOSITY > 0 ]] && echo -n "Populating the ${BUILDDIR}${BLFS_ROOT} directory "
 [[ ! -d ${BUILDDIR}${BLFS_ROOT} ]] && mkdir -pv ${BUILDDIR}${BLFS_ROOT}
 rm -rf ${BUILDDIR}${BLFS_ROOT}/*
 cp -r BLFS/* ${BUILDDIR}${BLFS_ROOT}
@@ -159,7 +159,7 @@ cp README.BLFS ${BUILDDIR}${BLFS_ROOT}
 [[ $VERBOSITY > 0 ]] && echo "... OK"
 
 # Clean-up
-[[ $VERBOSITY > 0 ]] && echo Cleaning the ${BUILDDIR}${BLFS_ROOT} directory
+[[ $VERBOSITY > 0 ]] && echo -n "Cleaning the ${BUILDDIR}${BLFS_ROOT} directory "
 # We do not want to keep an old version of the book:
 rm -rf ${BUILDDIR}${BLFS_ROOT}/$BLFS_XML
 rm -rf ${BUILDDIR}${BLFS_ROOT}/$LFS_XML
@@ -175,20 +175,21 @@ sed -i s@tracking-dir@$TRACKING_DIR@ \
 mkdir -p $TRACKING_DIR
 [[ $VERBOSITY > 0 ]] && echo "... OK"
 
-[[ $VERBOSITY > 0 ]] &&
-
 [[ -z "$BLFS_BOOK" ]] ||
 [[ $BLFS_BOOK = $BUILDDIR$BLFS_ROOT/$BLFS_XML ]] || {
-echo "Retrieving BLFS working copy (may take some time)" &&
+[[ $VERBOSITY > 0 ]] && echo -n "Retrieving BLFS working copy (may take some time) "
 cp -a $BLFS_BOOK $BUILDDIR$BLFS_ROOT/$BLFS_XML
+[[ $VERBOSITY > 0 ]] && echo "... OK"
 }
 
 [[ -z "$LFS_BOOK" ]] ||
 [[ $LFS_BOOK = $BUILDDIR$BLFS_ROOT/$LFS_XML ]] || {
-echo "Retrieving the LFS working copy (may take some time)" &&
+[[ $VERBOSITY > 0 ]] && echo -n "Retrieving the LFS working copy (may take some time) "
 cp -a $LFS_BOOK $BUILDDIR$BLFS_ROOT/$LFS_XML
+[[ $VERBOSITY > 0 ]] && echo "... OK"
 }
 
+[[ $VERBOSITY > 0 ]] && echo "Initializing the BLFS tool directory "
 make -j1 -C $BUILDDIR$BLFS_ROOT \
      TRACKING_DIR=$TRACKING_DIR \
      REV=$INITSYS            \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.