Procházet zdrojové kódy

Merge pull request #1949 from daigot/master

fix generation of tarball in the posix-local build
Ashish Kulkarni před 11 roky
rodič
revize
835c2d3007
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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()))