xbps-triggers: quote path in pycompile trigger

This commit is contained in:
Alessio Sergi 2016-10-27 15:31:36 +02:00
parent a5fb266888
commit f9b924b5a7
2 changed files with 2 additions and 2 deletions

View file

@ -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 \

View file

@ -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"