Browse Source

Merge pull request #1949 from daigot/master

fix generation of tarball in the posix-local build
Ashish Kulkarni 11 years ago
parent
commit
835c2d3007
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/build.py

+ 1 - 1
scripts/build.py

@@ -1055,7 +1055,7 @@ def build_posix_local(config, basedir):
     shell('cp ../../../include/wkhtmltox/*.h ../wkhtmltox-%s/include/wkhtmltox' % version)
     shell('cp ../../../include/wkhtmltox/dll*.inc ../wkhtmltox-%s/include/wkhtmltox' % version)
 
-    os.chdir(basedir)
+    os.chdir(os.path.join(basedir, config))
     shell('tar -c -v -f ../wkhtmltox-%s_local-%s.tar wkhtmltox-%s/' % (version, platform.node(), version))
     shell('xz --compress --force --verbose -9 ../wkhtmltox-%s_local-%s.tar' % (version, platform.node()))