Revision: 650
http://python-ogre.svn.sourceforge.net/python-ogre/?rev=650&view=rev
Author: mithro
Date: 2008-07-15 18:03:37 -0700 (Tue, 15 Jul 2008)
Log Message:
-----------
Stable metric works when called from any directory.
Modified Paths:
--------------
trunk/python-ogre/environment.py
Modified: trunk/python-ogre/environment.py
===================================================================
--- trunk/python-ogre/environment.py 2008-07-16 00:59:00 UTC (rev 649)
+++ trunk/python-ogre/environment.py 2008-07-16 01:03:37 UTC (rev 650)
@@ -126,7 +126,7 @@
print "\n\n You DO need to create a PythonOgreConfig_%s.py file with config details" % ( _SystemType)
sys.exit(-1)
-_STABLE = os.path.exists("STABLE") # set to true if using specific versions of CVS and SVN checkouts..
+_STABLE = os.path.exists(os.path.join(os.path.split(__file__)[0], "STABLE")) # set to true if using specific versions of CVS and SVN checkouts..
######################
downloadPath = os.path.abspath("downloads")
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|