Initial revision
[gnucomo.git] / src / coconf / coconf
1 #!/bin/sh
2 #
3 #   Copyright (C) 2002, Peter Roozemaal.
4 #
5 # GnuCoMo/CoConf is free software; you may redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2, or (at your option)
8 # any later version.  See the file COPYING.
9
10 # $Id: coconf,v 1.1 2002-11-19 19:21:18 arjen Exp $
11
12 if [ -f coconf.pyw ]
13 then
14         COCONFDIR=`pwd`
15 elif [ -d /usr/local/share/coconf ]
16 then
17         COCONFDIR=/usr/local/share/coconf 
18 elif [ -d /opt/coconf ]
19 then
20         COCONFDIR=/opt/coconf 
21 elif [ -d /usr/share/coconf ]
22 then
23         COCONFDIR=/usr/share/coconf 
24 else
25         COCONFDIR=`pwd`
26 fi
27
28 export COCONFDIR
29
30 python -OO ${COCONFDIR}/coconf.pyw "$@"