[clbuild-devel] *.asd file
Daniel White
daniel at whitehouse.id.au
Sat Nov 29 05:44:15 UTC 2008
Yes, this fixes the symptom, not the problem.
cells-gtk is not an included project anymore and used to need special
rules for linking some hidden .asd files.
Attached is a patch to remove this rule.
By the way, you should be able to remove broken links already with
clbuild clean-links.
On Fri, 28 Nov 2008 10:34:52 -0500
Ben Hyde <bhyde at pobox.com> wrote:
> On Nov 26, 2008, at 10:23 AM, Ebzzry wrote:
> > Hi! I'm wondering why is there a "*.asd" file that's always
> > persistently
> > present in the "systems" directory that points to
> > ${InstallDir}/clbuild/source/cells-gtk/*/*.asd?
> > A `clbuild clean-links' in turn deletes it.
> >
> > What is that file for? Is it there for a specific purpose? Is it
> > vestigial?
> > Is it negligible?
>
> It is a confusing but harmless bug.
>
> I believe this patch will fix the source. No doubt there are more
> elegant
> ways to do this. Reviews the other globbing is left as an exercise.
>
> bash-3.2$ darcs diff -u clbuild
> --- old-clbuild/clbuild 2008-11-28 10:28:44.000000000 -0500
> +++ new-clbuild/clbuild 2008-11-28 10:28:44.000000000 -0500
> @@ -672,7 +672,12 @@
> echo "resume: skipping update of $project"
> else
> ${UPDATE_SCRIPT} ${UPDATE_ARGS} $project
> - ln -f -s $(pwd)/${project}*/*.asd "${system_dir}"/
> + for i in $(pwd)/${project}*/*.asd ; do
> + # see nullglob etc in bash manual
> + if [ -f "$i" ] ; then
> + ln -f -s "$i" "${system_dir}"/
> + fi
> + done
> touch "$skipfile"
> fi
> done
>
--
Daniel White
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove-special-linking-rules-for-cells_gtk.dpatch
Type: application/octet-stream
Size: 28072 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/clbuild-devel/attachments/20081129/0df431fa/attachment.obj>
More information about the clbuild-devel
mailing list