diff options
author | Bruno Tarquini <btarquini@gmail.com> | 2009-11-28 14:54:41 +0300 |
---|---|---|
committer | Bruno Tarquini <btarquini@gmail.com> | 2009-11-28 14:54:41 +0300 |
commit | fe8bd2b027e3d1fcdb39e882278fe386c1bbf2cb (patch) | |
tree | 566a18291cf1b2fd3e90b6a5dd8b3ce92de1e57e /scripts/gajim.in | |
parent | 1ac0b7959d92d962d00279675a8543960b035eeb (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.in | 5 |
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 "$@" |