Show
Ignore:
Timestamp:
02/29/08 19:32:35 (2 years ago)
Author:
rob.linden
Message:

Latest internal snapshot
Last Changed Rev: 80909
Last Changed Date: 2008-02-27 15:08:55 -0800 (Wed, 27 Feb 2008)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/llmozlib2/repackage_runtime_mac.sh

    r1 r8  
    11#!/bin/bash 
    22 
    3 # This script adds or updates libllmozlib.dylib in mozilla-universal-darwin.tgz. 
     3# This script adds or updates libllmozlib2.dylib in mozilla-universal-darwin.tgz. 
    44sandbox_location="$1" 
    55 
     6xcodebuild -project llmozlib2.xcodeproj -target llmozlib2 -configuration 'Release' build 
    67 
    7 if [ -f build/Release/libllmozlib.dylib ]; then 
    8         echo "libllmozlib.dylib found" 
     8if [ -f build/Release/libllmozlib2.dylib ]; then 
     9        echo "libllmozlib2.dylib found" 
    910else 
    10         echo "libllmozlib.dylib not found, please build the Release target in llmozlib.xcodeproj" 
     11        echo "libllmozlib2.dylib not found, please build the Release target in llmozlib.xcodeproj" 
    1112        exit 1 
    1213fi 
     
    3031(cd mozilla-universal-darwin && tar -zxf ../mozilla-universal-darwin-original.tgz) 
    3132 
    32 echo "Adding libllmozlib.dylib..." 
     33echo "Adding libllmozlib2.dylib..." 
    3334 
    34 # copy in the latest built version of llmozlib 
    35 cp ./build/Release/libllmozlib.dylib mozilla-universal-darwin 
     35# copy in the latest built version of llmozlib2 
     36cp ./build/Release/libllmozlib2.dylib mozilla-universal-darwin 
    3637 
    3738echo "Removing unneeded pieces..." 
     
    4849echo "Creating mozilla-universal-darwin.tgz..." 
    4950 
    50 # tar up the runtime and llmozlib  
     51# tar up the runtime and llmozlib2  
    5152rm -f ./mozilla-universal-darwin.tgz 
    5253tar -zcf ./mozilla-universal-darwin.tgz \ 
     
    6263 
    6364echo "Copying stub library to $sandbox_location/libraries/universal-darwin/..." 
    64 cp build/Release_stub/libllmozlib.dylib $sandbox_location/libraries/universal-darwin/lib_debug/libllmozlib.dylib 
    65 cp build/Release_stub/libllmozlib.dylib $sandbox_location/libraries/universal-darwin/lib_release/libllmozlib.dylib 
     65cp build/Release_stub/libllmozlib2.dylib $sandbox_location/libraries/universal-darwin/lib_debug/libllmozlib2.dylib 
     66cp build/Release_stub/libllmozlib2.dylib $sandbox_location/libraries/universal-darwin/lib_release/libllmozlib2.dylib 
    6667 
    6768echo "done!"