Wrap path in abspath
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11450 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -2,7 +2,7 @@ import sys
|
||||
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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user