fixes compile
[platform/upstream/ibus-libpinyin.git] / setup / ibus-setup-libpinyin.in
1 #!/bin/sh
2 # vim:set noet ts=4:
3 #
4 # ibus-tmpl - The Input Bus template project
5 #
6 # Copyright (c) 2007-2008 Peng Huang <shawn.p.huang@gmail.com>
7 #
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2, or (at your option)
11 # any later version.
12 #
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 # GNU General Public License for more details.
17 #
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
21
22 prefix=@prefix@
23 exec_prefix=@exec_prefix@
24 datarootdir=@datarootdir@
25 export IBUS_PREFIX=@prefix@
26 export IBUS_DATAROOTDIR=@datarootdir@
27 export IBUS_LOCALEDIR=@localedir@
28 cd @prefix@/share/@PACKAGE@/setup/
29 exec python main2.py $@
30