view mac/finishup.sh @ 1764:5ffeea4a2a4b

Fixed a memory leak in the Mac box code, items were not being freed when destroyed. Also rewrote the box packing/unpacking code to avoid clang/Xcode warnings on Analyze.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 30 Jun 2012 18:34:19 +0000
parents 6382fd88b49a
children 1a196ada0bc9
line wrap: on
line source

#!/bin/sh
PLATFORM=`uname -s`

if [ $PLATFORM = "Darwin" ]
then
    mkdir -p dwtest.app/Contents/MacOS
    mkdir -p dwtest.app/Contents/Resources

    cp -f $1/mac/Info.plist dwtest.app/Contents
    cp -f $1/mac/PkgInfo dwtest.app/Contents
    cp -f dwtest dwtest.app/Contents/MacOS
fi