adium 2667:d8282749e69e: Copies and slightly modified version of...

commits at adium.im commits at adium.im
Tue Sep 1 20:13:33 UTC 2009


details:	http://hg.adium.im/adium/rev/d8282749e69e
revision:	2667:d8282749e69e
author:		Stephen Holt <sholt at adium.im>
date:		Tue Sep 01 16:20:12 2009 -0400

Copies and slightly modified version of copy_frameworks.sh.  Not in the main build process so there's no accidental clobbering of frameworks

diffs (22 lines):

diff -r 0b1ac9961b78 -r d8282749e69e Dependencies/copy_frameworks.sh
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Dependencies/copy_frameworks.sh	Tue Sep 01 16:20:12 2009 -0400
@@ -0,0 +1,18 @@
+#!/bin/bash -eu
+
+ROOTDIR=$(pwd)
+if ! expr "$ROOTDIR" : '.*/Dependencies$' &> /dev/null; then
+	error "Please run this script from the Dependencies directory."
+	exit 1
+fi
+
+ADIUM="`dirname $0`/.."
+
+cp -r "$ROOTDIR"/Frameworks/*.subproj/*.framework "$ADIUM/Frameworks/"
+
+pushd "$ADIUM/build" > /dev/null 2>&1
+	rm -rf */AdiumLibpurple.framework 
+	rm -rf */*/Adium.app/Contents/Frameworks/lib*
+popd > /dev/null 2>&1
+
+echo "Done - now build Adium"




More information about the commits mailing list