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

Contents of /trunk/pygtk/interface/ascend

Parent Directory Parent Directory | Revision Log Revision Log


Revision 337 - (show annotations) (download)
Wed Mar 1 00:51:23 2006 UTC (19 years, 2 months ago) by johnpye
File size: 480 byte(s)
Something is starting to run on MinGW now. GUI loads and ascend DLL is opened.
This revision still breaks the linux and Tcl/Tk builds, I expect.
Also added some smarts to the 'help...contents' menu for loading offline/online help files.
1 #!/bin/sh
2
3 if [ "x$ASCENDLIBRARY" = "x" ]; then
4 export ASCENDLIBRARY=~/ascdata:~/src/ascend/trunk/models
5 else
6 echo "USING ASCENDLIBRARY=$ASCENDLIBRARY"
7 fi
8
9 args=$@
10
11 if [ "$OSTYPE" = "cygwin" ]; then
12 echo "CYGWIN..."
13 elif [ "$OSTYPE" = "msys" ]; then
14 echo "MSYS..."
15 PYTHON=/c/Python24/python
16 fi
17
18 if [ $ASCEND_GDB ]; then
19 bin="gdb --args python"
20 elif [ $PYTHON ]; then
21 bin=$PYTHON
22 else
23 bin=python
24 fi
25
26 dir=`dirname $0`
27 cmd="$bin $dir/gtkbrowser.py $args"
28
29 $cmd

Properties

Name Value
svn:executable *

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