On 31/10/13 19:38, Steve Teale wrote:
My recipe can be found at britseyeview.com/software/buildGDC.txt

I hope this will save others some grief.

Nice writeup! :-)

One thing -- about tweaking the PATH variable -- I find it useful to have a little script for this, /etc/profile.d/opt.sh :

for d in /opt/*/bin; do
    test -d "$d" || continue
    case :$PATH:$ in
        *:"$d":*);;
        *) PATH=${PATH:+$PATH:}$d;;
    esac
done

Should be generally POSIX-compatible, not just working with bash or Linux.

N.B. I can't take credit for this. I'd written a simpler version which didn't check if a directory was already in the PATH; some nice person on the Ubuntu Forums suggested the above as an alternative.

Reply via email to