Jon Stewart on Sat, 28 Aug 2004 18:14:38 -0500 (CDT)

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

[hosers-talk] Ha-hah!

>From my .bash_profile:

# Completely bugger my path with unreadable sed command
# Gets ccache to find 3.4.1 before 3.3.4
PATH=`echo $PATH | sed 's/\/usr\/local\/bin:\/usr\/bin/\/usr\/local\/bin:\/usr\/local\/gcc-3.4.1\/bin:\/usr\/bin/'`

CCACHE_PATH is supposed to obviate the need for this, but I couldn't get 
it to work, so, hey, nothing like brute force, eh?

The great thing was that it only took me 5 minutes since I found a website 
with a bunch of sed one-liners.

Jon Stewart                                 Advanced Los Angeles C++
hosers-talk mailing list