ソースを参照

add --force and --verbose to the XZ compression options

This will generate the output even if it already exists and show
additional information during the compression.
Ashish Kulkarni 11 年 前
コミット
33f08605a6
1 ファイル変更2 行追加2 行削除
  1. 2 2
      scripts/build.py

+ 2 - 2
scripts/build.py

@@ -693,7 +693,7 @@ def build_linux_schroot(config, basedir):
     lines.append('cp ../../../include/wkhtmltox/dll*.inc ../wkhtmltox-%s/include/wkhtmltox' % version)
     lines.append('cd ..')
     lines.append('tar -c -v -f ../wkhtmltox-%s_linux-%s.tar wkhtmltox-%s/' % (version, config, version))
-    lines.append('xz --compress -9 ../wkhtmltox-%s_linux-%s.tar' % (version, config))
+    lines.append('xz --compress --force --verbose -9 ../wkhtmltox-%s_linux-%s.tar' % (version, config))
     lines.append('# end of build script')
 
     open(script, 'w').write('\n'.join(lines))
@@ -745,7 +745,7 @@ def build_posix_local(config, basedir):
 
     os.chdir(basedir)
     shell('tar -c -v -f ../wkhtmltox-%s_local-%s.tar wkhtmltox-%s/' % (version, platform.node(), version))
-    shell('xz --compress -9 ../wkhtmltox-%s_local-%s.tar' % (version, platform.node()))
+    shell('xz --compress --force --verbose -9 ../wkhtmltox-%s_local-%s.tar' % (version, platform.node()))
 
 # --------------------------------------------------------------- command line