summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorPhilip Sequeira <phsequei@gmail.com>2014-10-10 13:58:41 -0400
committerwm4 <wm4@nowhere>2014-10-11 13:26:12 +0200
commit977ff1034f39c0e693d6cbc1ef12743ac07121ee (patch)
tree3b308b1088aaba63ea07615a0b88d17895601ce3 /wscript_build.py
parentab41b8d27bf8a25caeac32b816855b5379f6cdf6 (diff)
downloadmpv-977ff1034f39c0e693d6cbc1ef12743ac07121ee.tar.bz2
mpv-977ff1034f39c0e693d6cbc1ef12743ac07121ee.tar.xz
build: make zsh completion directory configurable
Also, use the zsh default location (rather than the Debian one).
Diffstat (limited to 'wscript_build.py')
-rw-r--r--wscript_build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript_build.py b/wscript_build.py
index a3548a4f59..09f0837de2 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -563,7 +563,7 @@ def build(ctx):
if ctx.dependency_satisfied('zsh-comp'):
ctx.zshcomp(target = "etc/_mpv")
ctx.install_files(
- ctx.env.DATADIR + '/zsh/vendor-completions',
+ ctx.env.ZSHDIR,
['etc/_mpv'])
ctx.install_files(