summaryrefslogtreecommitdiffstats
path: root/site_scons/zip_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'site_scons/zip_utils.py')
-rw-r--r--site_scons/zip_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/site_scons/zip_utils.py b/site_scons/zip_utils.py
index 3d5821e..1a0f843 100644
--- a/site_scons/zip_utils.py
+++ b/site_scons/zip_utils.py
@@ -21,7 +21,7 @@ try:
# default ZipFile compression is ZIP_STORED
zf = zipfile.ZipFile(str(target[0]), 'w', compression=zipfile.ZIP_DEFLATED)
olddir = os.getcwd()
- os.chdir(env['CD'])
+ os.chdir(env.Dir(env['CD']).abspath)
try:
for dirname, dirnames, filenames in os.walk(env['PSV']):
visit(zf, dirname, filenames)