hooks/rewrite-python-shebang: s/pycompile_version/pyver/

This commit is contained in:
Alessio Sergi 2016-10-24 10:17:45 +02:00
parent 00065d80eb
commit b6bc28251b

View file

@ -11,7 +11,7 @@ hook() {
fi
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
if [ -n "$pycompile_version" ]; then