Wrap path in abspath

git-svn-id: http://svn.openlayers.org/trunk/openlayers@11450 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2011-02-24 23:59:51 +00:00
parent 876e0dfd81
commit b22963a2ef

View File

@@ -2,7 +2,7 @@ import sys
import os import os
import tempfile 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): if not os.path.exists(path):
raise Exception("No closure-compiler.jar at %s; read README.txt!" % path) raise Exception("No closure-compiler.jar at %s; read README.txt!" % path)