hooks/rewrite-python-shebang: s/pycompile_version/pyver/
This commit is contained in:
parent
00065d80eb
commit
b6bc28251b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue