[clbuild-devel] *.asd file

Ebzzry ebzzry at gmail.com
Fri Nov 28 22:28:11 UTC 2008


On Fri, Nov 28, 2008 at 11:34 PM, 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
>
> bash-3.2$
>
> _______________________________________________
> clbuild-devel mailing list
> clbuild-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/clbuild-devel
>

Thanks

-- 
Rommel M. Martinez
ebzzry at gmail.com
http://www.bespin.org/~ebzzry




More information about the clbuild-devel mailing list