[ooo-build-commit] .: bin/unpack

Tor Lillqvist tml at kemper.freedesktop.org
Thu Oct 7 05:19:00 PDT 2010


 bin/unpack |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 3d94b0ffe6035bde8e4329d30de8d194857cd26f
Author: Tor Lillqvist <tlillqvist at novell.com>
Date:   Thu Oct 7 15:17:54 2010 +0300

    Don't bother with x bit for instmsiw.exe
    
    It isn't a Cygwin program anyhow, and isn't run from Cygwin, so no
    need to copy it with the -p options, or to chmod it "executable" from
    a Cygwin point of view. No Windows file protection information will
    propagate through the installer anyway, whatever the Cygwin chmod
    would do.

diff --git a/bin/unpack b/bin/unpack
index 095948c..2f1fd77 100755
--- a/bin/unpack
+++ b/bin/unpack
@@ -572,8 +572,7 @@ if test "z$BUILD_WIN32" != "z"; then
    if test -f $OOBUILDDIR/external/msi/instmsiw.exe; then
 	echo "Already have instmsiw.exe"
     else
-	$GNUCP -p $SRCDIR/instmsiw.exe $OOBUILDDIR/external/msi
-	chmod a+x $OOBUILDDIR/external/msi/instmsiw.exe
+	$GNUCP $SRCDIR/instmsiw.exe $OOBUILDDIR/external/msi
     fi
 
     case "$DISTRO" in


More information about the ooo-build-commit mailing list