root/tags/mcxtrace_beta/MacInstall.command

Revision 2568, 448 bytes (checked in by pkwi, 3 years ago)

Make / configure edits to warn about existing mcxtrace / mcstas builds

Fix of MacInstall? script for Snow Leopard

  • Property svn:executable set to *
Line 
1#!/bin/sh
2
3cd `dirname $0`
4
5# Determine if this is Snow Leopard (10.6)
6SL=`sw_vers | grep 10.6 | wc -l`
7
8if [ $SL = 1 ] ; then
9    export PERL=/usr/bin/perl5.8.9
10else
11    export PERL=/usr/bin/perl
12fi
13
14export BROWSER=/usr/bin/open
15./configure PERL=$PERL
16make pgplot
17make
18echo
19echo
20echo Please enter your password to allow installation of McStas:
21echo
22sudo make install
23echo Creating shortcut for McStas on your Desktop:
24cp -rp McStas.app ~/Desktop/
Note: See TracBrowser for help on using the browser.