From 6faeb632b2e11ea1c56392ef6ab55cced673dd23 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sun, 30 Dec 2012 16:54:18 +0000 Subject: [PATCH] Remove lib64 when cleaning build dir --- common/common-functions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/common-functions b/common/common-functions index 73e6d92..1ea2359 100644 --- a/common/common-functions +++ b/common/common-functions @@ -71,7 +71,8 @@ if [ "${CLEAN}" = "y" ]; then if [ -d $BUILDDIR/sys ] ; then sudo rmdir $BUILDDIR/sys || exit 1 fi - sudo rm -rf $BUILDDIR/{bin,boot,dev,etc,home,lib,media,mnt,opt,root,sbin,srv,tmp,tools,cross-tools,usr,var} + sudo rm -rf $BUILDDIR/{bin,boot,dev,etc,home,lib{,64},media,mnt} + 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