mirror of
https://github.com/powerline/powerline.git
synced 2025-07-27 07:44:36 +02:00
Try setting LD_LIBRARY_PATH
Currently zpython test does not work: libzpython could not load libpython.
This commit is contained in:
parent
4c5b02d236
commit
65c6ed1cff
@ -17,6 +17,10 @@ if test "$TRAVIS" = true ; then
|
|||||||
. virtualenvwrapper.sh
|
. virtualenvwrapper.sh
|
||||||
workon cpython-ucs2-$UCS2_PYTHON_VARIANT
|
workon cpython-ucs2-$UCS2_PYTHON_VARIANT
|
||||||
set -e
|
set -e
|
||||||
|
else
|
||||||
|
LIBRARY_PATH="$(ldd "$(which python)" | grep libpython | sed 's/^.* => //;s/ .*$//')"
|
||||||
|
LIBRARY_DIR="$(dirname "${LIBRARY_PATH}")"
|
||||||
|
export LD_LIBRARY_PATH="$LIBRARY_DIR${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -229,7 +229,7 @@ fi
|
|||||||
|
|
||||||
exes="bash zsh busybox tcsh mksh"
|
exes="bash zsh busybox tcsh mksh"
|
||||||
|
|
||||||
if test -z "$TRAVIS_JOB_NUMBER" ; then
|
if test "$TRAVIS" != "true" ; then
|
||||||
# For some reason fish does not work on travis
|
# For some reason fish does not work on travis
|
||||||
exes="$exes fish"
|
exes="$exes fish"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user