[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: scripts that relies on $ROOTSYS



muzzle <muzzle@gmail.com> writes:

> I'm a user of the ROOT packages available at
> http://mirror.phy.bnl.gov/debian-root/ (btw thanks to the
> maintainers). I recently had to work with a lot of scripts and
> makefiles that  relied heavily on ROOTSYS being set.
>
> Fortunately I could edit those scripts and hardcode the right
> directories (/usr/bin /usr/include/root etc.) but  I wonder if there
> is a sane way to cope with this scripts, short of creating a directory
> with symlinks to all the relevant files (argh!) and point ROOTSYS
> there.

What about using the "root-config" script to locate chunks of ROOT
instead of ROOTSYS?

-Brett.



Reply to: