[OpenAFS-devel] Re: git + symlinks

Russ Allbery rra@stanford.edu
Thu, 16 Jun 2011 07:21:32 -0700


Andrew Deason <adeason@sinenomine.net> writes:

> You could generate symlinks at make-time if you really want them. But
> these could just be scripts that execute the same script with a
> different arg.

I do this sort of thing a lot in test suites:

    use lib "$ENV{SOURCE}/lib";
    use Util;

(or whatever the module is).  You can then put the Perl modules in
tests/lib or whatever other directory makes sense and then put all the
shared code in the modules.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>