diff --git a/srcpkgs/xbps-triggers/files/pycompile b/srcpkgs/xbps-triggers/files/pycompile index 339d230fe29..9d1da900b46 100755 --- a/srcpkgs/xbps-triggers/files/pycompile +++ b/srcpkgs/xbps-triggers/files/pycompile @@ -52,7 +52,7 @@ compile() done 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 + if [ -d "usr/lib/python${pycompile_version}/site-packages/${f}" ]; then python${pycompile_version} -m compileall -f -q \ usr/lib/python${pycompile_version}/site-packages/${f} && \ python${pycompile_version} -O -m compileall -f -q \ diff --git a/srcpkgs/xbps-triggers/template b/srcpkgs/xbps-triggers/template index 0b34a77d0d9..71c2bd2de95 100644 --- a/srcpkgs/xbps-triggers/template +++ b/srcpkgs/xbps-triggers/template @@ -1,7 +1,7 @@ # Template file for 'xbps-triggers' pkgname=xbps-triggers version=0.102 -revision=2 +revision=3 noarch=yes bootstrap=yes short_desc="The XBPS triggers for Void Linux"