From cc233e5d2299655cb451f228e18a46ebfe163aea Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Thu, 1 Dec 2011 09:09:05 +0000 Subject: Fix build and install errors on Mac OS X. Add missing scripts to forward IP ports on Mac OS X. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1209010 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/modules/edit/mkapplinks | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'sca-cpp/trunk/modules/edit/mkapplinks') diff --git a/sca-cpp/trunk/modules/edit/mkapplinks b/sca-cpp/trunk/modules/edit/mkapplinks index 94f455ba48..a68a2896ec 100755 --- a/sca-cpp/trunk/modules/edit/mkapplinks +++ b/sca-cpp/trunk/modules/edit/mkapplinks @@ -17,16 +17,21 @@ # specific language governing permissions and limitations # under the License. -# Create app links and sub-directories if needed +aprefix=$1 +tprefix=$2 +nprefix=$3 + +# Create app links to Nuvem and Tuscany components +cd $1 for n in `ls apps | awk '{ printf "apps/%s/nuvem\n", $1 }'`; do if [ ! -e "$n" ]; then - ln -s ../../../../../nuvem/nuvem-parallel/nuvem "$n" + ln -s "$nprefix/nuvem-parallel/nuvem" "$n" fi done for n in `ls apps | awk '{ printf "apps/%s/lib\n", $1 }'`; do if [ ! -e "$n" ]; then - ln -s ../../../../components "$n" + ln -s "$tprefix/components" "$n" fi done -- cgit v1.2.3