[clbuild-devel] clbuild trash doesn't delete systems links

Ben Hyde bhyde at pobox.com
Tue Apr 15 15:50:37 UTC 2008


clbuild trash is not removing the symbolic links from the systems  
directory;

This one liner might be helpful:

for i in `ls -l systems/*.asd | awk '/->/{print $11}'` ; do if [ \! -f  
$i ] ; then echo $i ; fi done

Should "cleanup orphan systems links" be it's own command?  Who knows?

Meanwhile in other curiosities at my house, that one liner's output:

bash-3.2$ for i in `ls -l systems/*.asd | awk '/->/{print $11}'` ; do  
if [ \! -f $i ] ; then echo $i ; fi done
/Users/bhyde/p/clbuild/source/cells-gtk/*/*.asd
/Users/bhyde/p/clbuild/source/cl-facebook/cl-facebook.asd
/Users/bhyde/p/clbuild/source/cl-opengl/cl-glu.asd
/Users/bhyde/p/clbuild/source/cl-opengl/cl-glut-examples.asd
/Users/bhyde/p/clbuild/source/cl-opengl/cl-glut.asd
/Users/bhyde/p/clbuild/source/cl-opengl/cl-opengl.asd
/Users/bhyde/p/clbuild/source/closure-html/closure-html.asd
/Users/bhyde/p/clbuild/source/eclipse/system.lisp
bash-3.2$

- ben

ps. I sent this email twice, once before I'd confirmed my list  
membership; maybe the moderator can ignore that.

pps loving clbuild!




More information about the clbuild-devel mailing list