xbps-triggers: quote path in pycompile trigger
This commit is contained in:
parent
a5fb266888
commit
f9b924b5a7
2 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ compile()
|
||||||
done
|
done
|
||||||
for f in ${pycompile_module}; do
|
for f in ${pycompile_module}; do
|
||||||
echo "Byte-compiling python${pycompile_version} code for module ${f}..."
|
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 \
|
python${pycompile_version} -m compileall -f -q \
|
||||||
usr/lib/python${pycompile_version}/site-packages/${f} && \
|
usr/lib/python${pycompile_version}/site-packages/${f} && \
|
||||||
python${pycompile_version} -O -m compileall -f -q \
|
python${pycompile_version} -O -m compileall -f -q \
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'xbps-triggers'
|
# Template file for 'xbps-triggers'
|
||||||
pkgname=xbps-triggers
|
pkgname=xbps-triggers
|
||||||
version=0.102
|
version=0.102
|
||||||
revision=2
|
revision=3
|
||||||
noarch=yes
|
noarch=yes
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
short_desc="The XBPS triggers for Void Linux"
|
short_desc="The XBPS triggers for Void Linux"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue