diff options
author | Alessio Sergi <al3hex@gmail.com> | 2016-10-24 08:17:45 +0000 |
---|---|---|
committer | Alessio Sergi <al3hex@gmail.com> | 2016-10-24 08:18:49 +0000 |
commit | b6bc28251bc3e12f8941023d1188df0cbc7a0f6a (patch) | |
tree | 2c6e91c4a0ef4e5bc6017b19584ad59c43a4ed5e | |
parent | 00065d80ebe61c44a7677b52811b6cdc92d854ef (diff) | |
download | void-packages-b6bc28251bc3e12f8941023d1188df0cbc7a0f6a.tar void-packages-b6bc28251bc3e12f8941023d1188df0cbc7a0f6a.tar.gz void-packages-b6bc28251bc3e12f8941023d1188df0cbc7a0f6a.tar.bz2 void-packages-b6bc28251bc3e12f8941023d1188df0cbc7a0f6a.tar.lz void-packages-b6bc28251bc3e12f8941023d1188df0cbc7a0f6a.tar.xz void-packages-b6bc28251bc3e12f8941023d1188df0cbc7a0f6a.tar.zst void-packages-b6bc28251bc3e12f8941023d1188df0cbc7a0f6a.zip |
hooks/rewrite-python-shebang: s/pycompile_version/pyver/
-rw-r--r-- | common/hooks/pre-pkg/03-rewrite-python-shebang.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/hooks/pre-pkg/03-rewrite-python-shebang.sh b/common/hooks/pre-pkg/03-rewrite-python-shebang.sh index 6f057cc984b..e42b28a3bb9 100644 --- a/common/hooks/pre-pkg/03-rewrite-python-shebang.sh +++ b/common/hooks/pre-pkg/03-rewrite-python-shebang.sh @@ -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 |