hooks/rewrite-python-shebang: s/pycompile_version/pyver/
This commit is contained in:
parent
00065d80eb
commit
b6bc28251b
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ hook() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -d ${PKGDESTDIR}/usr/lib/python* ]; then
|
if [ -d ${PKGDESTDIR}/usr/lib/python* ]; then
|
||||||
pycompile_version="$(find ${PKGDESTDIR}/usr/lib/python* -type d | grep -o '[[:digit:]]\.[[:digit:]]$')"
|
pyver="$(find ${PKGDESTDIR}/usr/lib/python* -type d | grep -o '[[:digit:]]\.[[:digit:]]$')"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$pycompile_version" ]; then
|
if [ -n "$pycompile_version" ]; then
|
||||||
|
|
Loading…
Reference in a new issue