summaryrefslogtreecommitdiffstats
path: root/solenv/bin/deliver.pl
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-11-03 17:45:31 +0200
committerTor Lillqvist <tlillqvist@suse.com>2011-11-03 17:52:40 +0200
commit97724a27a4055da1b743f3850e5382883e09172d (patch)
treec43cd012afd830bb1b2a83de772710e75b077276 /solenv/bin/deliver.pl
parentprobably need to add mbIsGrey to operator== comparison (diff)
downloadcore-97724a27a4055da1b743f3850e5382883e09172d.tar.gz
core-97724a27a4055da1b743f3850e5382883e09172d.zip
Check $OS, not the build platform
Diffstat (limited to 'solenv/bin/deliver.pl')
-rwxr-xr-xsolenv/bin/deliver.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/bin/deliver.pl b/solenv/bin/deliver.pl
index 3860fc8650e7..3211e01cfba5 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/ );