diff --git a/srcpkgs/xbps-triggers/files/pycompile b/srcpkgs/xbps-triggers/files/pycompile index 7e69816f62c..556bc628800 100755 --- a/srcpkgs/xbps-triggers/files/pycompile +++ b/srcpkgs/xbps-triggers/files/pycompile @@ -46,14 +46,14 @@ compile() for f in ${pycompile_module}; do echo "Byte-compiling python${pycompile_version} code for module ${f}..." if [ -d usr/lib/python${pycompile_version}/site-packages/${f} ]; then - python -m compileall -f -q \ + python${pycompile_version} -m compileall -f -q \ usr/lib/python${pycompile_version}/site-packages/${f} && \ - python -O -m compileall -f -q \ + python${pycompile_version} -O -m compileall -f -q \ usr/lib/python${pycompile_version}/site-packages/${f} else - python -m compileall -f -q \ + python${pycompile_version} -m compileall -f -q \ usr/lib/python${pycompile_version}/site-packages/${f} && \ - python -O -m compileall -f -q \ + python${pycompile_version} -O -m compileall -f -q \ usr/lib/python${pycompile_version}/site-packages/${f} fi done diff --git a/srcpkgs/xbps-triggers/template b/srcpkgs/xbps-triggers/template index 36de3473f19..f289024cd60 100644 --- a/srcpkgs/xbps-triggers/template +++ b/srcpkgs/xbps-triggers/template @@ -1,6 +1,6 @@ # Template file for 'xbps-triggers' pkgname=xbps-triggers -version=0.78 +version=0.79 revision=1 noarch=yes bootstrap=yes