Browse Source

fix ownership of /usr/local being changed during installation on OS X

Passing the -o flag to tar should preserve them and fix #2252.
Ashish Kulkarni 10 years ago
parent
commit
11c0a53404
2 changed files with 2 additions and 1 deletions
  1. 1 0
      CHANGELOG.md
  2. 1 1
      scripts/build.py

+ 1 - 0
CHANGELOG.md

@@ -11,6 +11,7 @@ v0.12.3 (unreleased)
 * **#2190**: do not depend on ICU even if it is already installed
 * **#2194**: **[qt]** fix debugging of Qt/WebKit due to missing debug information
 * **#2214**: **[qt]** fix broken rendering of transparent images when converting to PDF
+* **#2252**: fix ownership of /usr/local being changed during installation on OS X
 * **#2280**: do not allow data URIs for --header-html or --footer-html
 * **#2322**: fix broken debug builds with MSVC
 * **#2355**: add support for proxy bypass for specific hosts with --bypass-proxy-for

+ 1 - 1
scripts/build.py

@@ -1217,7 +1217,7 @@ BASEDIR=%s
 cd $BASEDIR
 ./xz --decompress app.tar.xz
 cd $TGTDIR
-tar xf $BASEDIR/app.tar
+tar oxf $BASEDIR/app.tar
 mv $BASEDIR/uninstall-wkhtmltox $TGTDIR/bin
 rm -fr $BASEDIR
 """ % cfg['--prefix'])