X-Git-Url: https://dev.renevier.net/?p=syj.git;a=blobdiff_plain;f=scripts%2Frelease.py;fp=scripts%2Frelease.py;h=ca83a2a12ba457c6896d0ca875662c8131c5812a;hp=a1d30e44312b9f7a7050f727d249000de6b50275;hb=66723e262e0b42b6fb50ba781be6ad3b06ee3fb5;hpb=e534c17db2f3986751f4a96900e4aaae56d34873 diff --git a/scripts/release.py b/scripts/release.py index a1d30e4..ca83a2a 100755 --- a/scripts/release.py +++ b/scripts/release.py @@ -26,9 +26,9 @@ def genscripts(): shutil.copy(path, tmpdir) # build OpenLayers.js - subprocess.call(['python', 'buildUncompressed.py', 'syj'], + subprocess.call(['python', 'buildUncompressed.py', + pathjoin(os.getcwd(), "scripts/syj"), pathjoin(tmpdir, "OpenLayers.js")], cwd = 'public/openlayers/openlayers/build') - shutil.copy('public/openlayers/openlayers/build/OpenLayers.js', tmpdir) config = ConfigParser.ConfigParser() os.makedirs(pathjoin(TARGET, 'public/js'))