r2205 - jhalfs/trunk

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Thu Nov 24 11:13:32 PST 2005


Author: manuel
Date: 2005-11-24 12:13:29 -0700 (Thu, 24 Nov 2005)
New Revision: 2205

Modified:
   jhalfs/trunk/jhalfs
Log:
Claning also remainig extracted sources when using --rebuild.

Modified: jhalfs/trunk/jhalfs
===================================================================
--- jhalfs/trunk/jhalfs	2005-11-23 21:55:01 UTC (rev 2204)
+++ jhalfs/trunk/jhalfs	2005-11-24 19:13:29 UTC (rev 2205)
@@ -138,6 +138,8 @@
       rm -rf $BUILDDIR/{bin,boot,dev,etc,home,lib,media,mnt,opt,proc,root,sbin,srv,sys,tmp,tools,usr,var}
       echo -ne "Cleaning $JHALFSDIR...\n"
       rm -rf $JHALFSDIR/{0*,1*,envars,sources-dir,commands,logs,Makefile,dump-lfs-scripts.xsl,functions,packages,patches}
+      echo -ne "Cleaning remainig extracted sources in $BUILDDIR/sources...\n"
+      rm -rf `find $BUILDDIR/sources/* -maxdepth 0 -type d`
       echo -ne "done\n"
     fi
   fi




More information about the alfs-log mailing list