hooks/rewrite-python-shebang: s/pycompile_version/pyver/
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user