[OpenLayers-Commits] r11450 - trunk/openlayers/tools

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Thu Feb 24 18:59:52 EST 2011


Author: crschmidt
Date: 2011-02-24 15:59:51 -0800 (Thu, 24 Feb 2011)
New Revision: 11450

Modified:
   trunk/openlayers/tools/closure.py
Log:
Wrap path in abspath


Modified: trunk/openlayers/tools/closure.py
===================================================================
--- trunk/openlayers/tools/closure.py	2011-02-24 23:48:24 UTC (rev 11449)
+++ trunk/openlayers/tools/closure.py	2011-02-24 23:59:51 UTC (rev 11450)
@@ -2,7 +2,7 @@
 import os
 import tempfile
 
-path = os.path.join(os.path.dirname(__file__), "closure-compiler.jar")
+path = os.path.abspath(os.path.join(os.path.dirname(__file__), "closure-compiler.jar"))
 if not os.path.exists(path):
     raise Exception("No closure-compiler.jar at %s; read README.txt!" % path)
 



More information about the Commits mailing list