From 8abffbf68b4b283533adbce36293b8228163f253 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Thu, 25 Mar 2021 02:21:11 +0200 Subject: [PATCH] scripts: fpm: install zsh competion to install / "share" Currently we create /usr/share/... which is not allowed by macos: > the package is trying to install content to the system volume --- scripts/fpm/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/fpm/build.py b/scripts/fpm/build.py index 6933919ea..8964038d8 100644 --- a/scripts/fpm/build.py +++ b/scripts/fpm/build.py @@ -69,7 +69,7 @@ bash_completion = check_output( ) (bash_dir / "dvc").write_text(bash_completion) -zsh_dir = build / "usr" / "share" / "zsh" / "site-funtions" +zsh_dir = install / "share" / "zsh" / "site-funtions" zsh_dir.mkdir(parents=True) zsh_completion = check_output( [lib / "dvc" / "dvc", "completion", "-s", "zsh"], text=True