[Libreoffice-commits] .: solenv/bin

Tor Lillqvist tml at kemper.freedesktop.org
Thu Nov 3 08:52:53 PDT 2011


 solenv/bin/deliver.pl |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 97724a27a4055da1b743f3850e5382883e09172d
Author: Tor Lillqvist <tlillqvist at suse.com>
Date:   Thu Nov 3 17:45:31 2011 +0200

    Check $OS, not the build platform

diff --git a/solenv/bin/deliver.pl b/solenv/bin/deliver.pl
index 3860fc8..3211e01 100755
--- a/solenv/bin/deliver.pl
+++ b/solenv/bin/deliver.pl
@@ -815,7 +815,7 @@ sub copy_if_newer
         }
         if ( $success ) {
             # handle special packaging of *.dylib files for Mac OS X
-            if ( $^O eq 'darwin' )
+            if ( $ENV{OS} eq 'MACOSX' )
             {
                 system("macosx-create-bundle", "$to=$from.app") if ( -d "$from.app" );
                 system("ranlib", "$to" ) if ( $to =~ /\.a/ );


More information about the Libreoffice-commits mailing list