From bb7f60339127843b8bd060cd70743c0a4d4e95c3 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sun, 15 Dec 2013 07:34:58 +0000 Subject: [PATCH] add verbosity to the cleaning process --- common/common-functions | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/common/common-functions b/common/common-functions index 8707cd0..9802192 100644 --- a/common/common-functions +++ b/common/common-functions @@ -73,10 +73,12 @@ if [ "${CLEAN}" = "y" ]; then fi sudo rm -rf $BUILDDIR/{bin,boot,dev,etc,home,lib{,64},media,mnt,run} sudo rm -rf $BUILDDIR/{opt,root,sbin,srv,tmp,tools,cross-tools,usr,var} - if [[ "${BLFS_TOOL}" = "y" ]] ; then - sudo rm -rf $BUILDDIR/$BLFS_ROOT - fi echo "done" + if [[ "${BLFS_TOOL}" = "y" ]] ; then + echo -n "Cleaning $BUILDDIR/$BLFS_ROOT ..." + sudo rm -rf $BUILDDIR/$BLFS_ROOT + echo "done" + fi echo -n "Cleaning $JHALFSDIR ..." sudo rm -rf $JHALFSDIR echo "done"