From: Faré <fa...@gm...> - 2011-11-05 17:53:40
|
On Sat, Nov 5, 2011 at 13:44, Faré <fa...@gm...> wrote: > On Sat, Nov 5, 2011 at 12:44, Zach Beane <xa...@xa...> wrote: >> I have a directory entry foo/bar that is a symlink to src/bar. A file >> src/bar/baz.asd exists. I expected (directory "foo/*/*.asd") to return >> baz.asd, but it doesn't - is there any combination of options I can use >> to get the result I want? >> > I ran into this problem and related problems on other implementations. > > Possibly not the answer you want, but this invocation will give you > what you want somewhat portably: > > (asdf:while-collecting (c) (asdf::collect-sub*directories-asd-files > "/tmp/" :collect #'c)) > Oops, apparently, you'd need to use *.* instead of */ as a pattern to list files in SBCL, so that would be adding sbcl to the #+(or abcl allegro cmu lispworks scl xcl) in subdirectories. Ahem. I wonder if I want to commit that to ASDF... —♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• http://fare.tunes.org An anarchist is a man who is careful to always use pedestrian crossings, because he utterly detests talking with policemen. — Georges Brassens |