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

Annotation of /trunk/pygtk/interface/ascend

Parent Directory Parent Directory | Revision Log Revision Log


Revision 450 - (hide annotations) (download)
Wed Apr 5 01:54:16 2006 UTC (18 years, 3 months ago) by johnpye
File size: 676 byte(s)
Removed ~/ascdata from DEFAULT_ASCENDLIBRARY
1 johnpye 337 #!/bin/sh
2 johnpye 132
3 johnpye 361 if [ "x$ASCENDLIBRARY" != "x" ]; then
4     echo "USING ASCENDLIBRARY=$ASCENDLIBRARY"
5 johnpye 337 fi
6    
7 johnpye 132 args=$@
8    
9 johnpye 190 if [ "$OSTYPE" = "cygwin" ]; then
10     echo "CYGWIN..."
11 johnpye 337 elif [ "$OSTYPE" = "msys" ]; then
12 johnpye 361 #echo "MSYS..."
13 johnpye 337 PYTHON=/c/Python24/python
14 johnpye 190 fi
15    
16 johnpye 345 if [ $PYTHON ]; then
17     python=$PYTHON
18     else
19 johnpye 359 python=python
20 johnpye 345 fi
21    
22    
23 johnpye 132 if [ $ASCEND_GDB ]; then
24 johnpye 359 bin="gdb --args $python"
25 johnpye 345 else
26 johnpye 359 bin=$python
27 johnpye 132 fi
28    
29 johnpye 436 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 johnpye 450 cmd="$bin /home/john/share/ascend/gtkbrowser.py $args"
35 johnpye 436 fi
36 johnpye 132
37     $cmd
38    

Properties

Name Value
svn:executable *

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