Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Tarquini <btarquini@gmail.com>2009-11-28 14:54:41 +0300
committerBruno Tarquini <btarquini@gmail.com>2009-11-28 14:54:41 +0300
commitfe8bd2b027e3d1fcdb39e882278fe386c1bbf2cb (patch)
tree566a18291cf1b2fd3e90b6a5dd8b3ce92de1e57e /scripts/gajim.in
parent1ac0b7959d92d962d00279675a8543960b035eeb (diff)
autotools: remove confusing variables ${datadir} and DATADIR.
Those variables were confusing because autoconf usually defines DATADIR to PREFIX/share and gajim uses both defs.datadir=PREFIX/share/gajim and gajim.DATA_DIR=PREFIX/share/gajim/data. Now, autoconf will use PKGDATADIR for setting the (renamed) defs.basedir variable which will be used to set gajimpaths['DATA_DIR'] and gajimpaths['ICONS_DIR'] in configpaths.py Gajim will also looks for the ${GAJIM_BASEDIR} environment variable instead of ${datadir} which was really too generic (no namespace).
Diffstat (limited to 'scripts/gajim.in')
-rw-r--r--scripts/gajim.in5
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/gajim.in b/scripts/gajim.in
index da77f6bea..e163a9bda 100644
--- a/scripts/gajim.in
+++ b/scripts/gajim.in
@@ -29,8 +29,5 @@ fi
[ "$APP" = "gajim-history-manager" ] && APP="history_manager"
-export datadir=@DATADIR@/gajim
-PYTHON_EXEC=@PYTHON@
-
cd "@GAJIM_SRCDIR@"
-exec ${PYTHON_EXEC} -OO $APP.py "$@"
+exec "@PYTHON@" -OO $APP.py "$@"