Claning also remainig extracted sources when using --rebuild.
This commit is contained in:
parent
da5860a6c8
commit
0617288495
1 changed files with 2 additions and 0 deletions
2
jhalfs
2
jhalfs
|
@ -138,6 +138,8 @@ clean_builddir() {
|
|||
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
|
||||
|
|
Reference in a new issue