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
|
||||
|
||||
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 a new issue