Author: ranger
Date: Tue Apr 14 20:53:56 2009
New Revision: 1502

URL: 
<http://svn.finkproject.org/websvn/listing.php?sc=1&rev=1502&repname=user%3a+ranger>
Log:
ugh, more fixes

Modified:
    kde-admindir/trunk/environment-helper.sh

Modified: kde-admindir/trunk/environment-helper.sh
URL: 
<http://svn.finkproject.org/websvn/diff.php?path=/kde-admindir/trunk/environment-helper.sh&rev=1502&repname=user%3a+ranger>
==============================================================================
--- kde-admindir/trunk/environment-helper.sh (original)
+++ kde-admindir/trunk/environment-helper.sh Tue Apr 14 20:53:56 2009
@@ -144,8 +144,8 @@
 if [ -x "/usr/bin/gcc-4.2" ]; then
        if [ -x "$PREFIX/bin/ccache" ]; then
                mkdir -p gcc-root
-               ln -s $PREFIX/bin/ccache gcc-root/gcc-4.2
-               ln -s $PREFIX/bin/ccache gcc-root/g++-4.2
+               [ ! -e gcc-root/gcc-4.2 ] && ln -s $PREFIX/bin/ccache 
gcc-root/gcc-4.2
+               [ ! -e gcc-root/g++-4.2 ] && ln -s $PREFIX/bin/ccache 
gcc-root/g++-4.2
                export PATH=`pwd`/gcc-root:"$PATH"
                export CC="gcc-4.2"
                export CXX="g++-4.2"


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to