scripts now look for libs in the correct folder
This commit is contained in:
parent
a6f9f83f31
commit
b00bff7f14
4
Makefile
4
Makefile
|
@ -81,9 +81,9 @@ install:
|
|||
for s in $(SCRIPTS) ; do \
|
||||
BASE=`basename "$$s"`; \
|
||||
if [ $(GAJIM_AP) -ne 0 ] ; then \
|
||||
F=`cat "$$s"`; \
|
||||
F=`cat "$$s" | sed -e 's!LIB!$(LIBDIR)!g'`; \
|
||||
else \
|
||||
F=`cat "$$s" | sed -e 's!PREFIX!$(PREFIX)!g'`; \
|
||||
F=`cat "$$s" | sed -e 's!PREFIX!$(PREFIX)!g' -e 's!LIB!$(LIBDIR)!g'`; \
|
||||
fi; \
|
||||
echo "$$F" > "$(DESTDIR)$(PREFIX)/bin/$$BASE"; \
|
||||
chmod +x "$(DESTDIR)$(PREFIX)/bin/$$BASE"; \
|
||||
|
|
|
@ -22,5 +22,5 @@ if [ `id -u` -eq 0 ]; then
|
|||
fi
|
||||
|
||||
cd PREFIX/share/gajim/src
|
||||
export PYTHONPATH="$PYTHONPATH:PREFIX/lib/gajim"
|
||||
export PYTHONPATH="$PYTHONPATH:PREFIXLIB/gajim"
|
||||
python gajim.py $@
|
||||
|
|
|
@ -23,5 +23,5 @@ if [ `id -u` -eq 0 ]; then
|
|||
fi
|
||||
|
||||
cd PREFIX/share/gajim/scripts
|
||||
export PYTHONPATH="$PYTHONPATH:PREFIX/lib/gajim"
|
||||
export PYTHONPATH="$PYTHONPATH:PREFIXLIB/gajim"
|
||||
python gajim-remote.py $@
|
||||
|
|
Loading…
Reference in New Issue