summaryrefslogtreecommitdiff
path: root/shell-completion
diff options
context:
space:
mode:
authorArnaud Rebillout <arnaud.rebillout@collabora.com>2018-11-26 14:11:47 +0700
committerArun Raghavan <arun@arunraghavan.net>2019-06-08 11:57:00 +0200
commit8146f87808b4b4f9cca1e1558fbfa344fd53d013 (patch)
tree3a9ad2d0b4a32b0260588e34883a704dccde941b /shell-completion
parent8f336ede123434ec84edd64c43bfacab76db6298 (diff)
meson: Fix various install scripts
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/bash/meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell-completion/bash/meson.build b/shell-completion/bash/meson.build
index 443049bd1..b5b00f1b8 100644
--- a/shell-completion/bash/meson.build
+++ b/shell-completion/bash/meson.build
@@ -13,5 +13,6 @@ install_data('pulseaudio', install_dir : bashcompletiondir)
foreach alias : aliases
dst = join_paths(bashcompletiondir, alias)
- meson.add_install_script('ln', '-fs', 'pulseaudio', dst)
+ cmd = 'ln -fs @0@ $DESTDIR@1@'.format('pulseaudio', dst)
+ meson.add_install_script('sh', '-c', cmd)
endforeach