/[ascend]/trunk/pygtk/interface/ascend
ViewVC logotype

Contents of /trunk/pygtk/interface/ascend

Parent Directory Parent Directory | Revision Log Revision Log


Revision 449 - (show annotations) (download)
Wed Apr 5 01:32:45 2006 UTC (14 years ago) by johnpye
File size: 676 byte(s)
Adding 'models' directory to SCons install
1 #!/bin/sh
2
3 if [ "x$ASCENDLIBRARY" != "x" ]; then
4 echo "USING ASCENDLIBRARY=$ASCENDLIBRARY"
5 fi
6
7 args=$@
8
9 if [ "$OSTYPE" = "cygwin" ]; then
10 echo "CYGWIN..."
11 elif [ "$OSTYPE" = "msys" ]; then
12 #echo "MSYS..."
13 PYTHON=/c/Python24/python
14 fi
15
16 if [ $PYTHON ]; then
17 python=$PYTHON
18 else
19 python=python
20 fi
21
22
23 if [ $ASCEND_GDB ]; then
24 bin="gdb --args $python"
25 else
26 bin=$python
27 fi
28
29 if [ "x$ASC_DEVELOPING" != "x" ]; then
30 # set the 'ASC_DEVELOPING' environment variable
31 # if you don't want to run ASCEND from the installed location
32 cmd="$bin gtkbrowser.py --pygtk-assets=glade/ $args"
33 else
34 cmd="$bin /usr/local/share/ascend/gtkbrowser.py $args"
35 fi
36
37 $cmd

Properties

Name Value
svn:executable *

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22