python: fix linkme-wrapper
This commit is contained in:
parent
3228a381dd
commit
1a52c7659d
|
@ -14,7 +14,7 @@ PROG=$(basename "$0")
|
||||||
SITES=
|
SITES=
|
||||||
|
|
||||||
pypath() {
|
pypath() {
|
||||||
BIN=$(realpath -s "$(dirname "$BIN")")
|
BIN=$(realpath -s "$(dirname "$1")")
|
||||||
ENV=$(dirname "$BIN")
|
ENV=$(dirname "$BIN")
|
||||||
SITE="$ENV/lib/python2.7/site-packages"
|
SITE="$ENV/lib/python2.7/site-packages"
|
||||||
SITES="$SITES${SITES:+:}$SITE"
|
SITES="$SITES${SITES:+:}$SITE"
|
||||||
|
|
Loading…
Reference in New Issue