From c5b920b91302a3bbec41861c469821a1c76d2efb Mon Sep 17 00:00:00 2001 From: sharkdp Date: Tue, 2 Jan 2018 21:47:45 +0100 Subject: [PATCH] Fix shell completion directories for Ubuntu --- ci/before_deploy.bash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/before_deploy.bash b/ci/before_deploy.bash index 3be0720..d51f087 100755 --- a/ci/before_deploy.bash +++ b/ci/before_deploy.bash @@ -85,9 +85,9 @@ make_deb() { install -Dm644 LICENSE-APACHE "$tempdir/usr/share/doc/$PROJECT_NAME/LICENSE-APACHE" # completions - install -Dm644 target/$TARGET/release/build/$PROJECT_NAME-*/out/$PROJECT_NAME.bash "$tempdir/usr/share/bash-completion/completions/$PROJECT_NAME/${PROJECT_NAME}.bash-completion" - install -Dm644 target/$TARGET/release/build/$PROJECT_NAME-*/out/$PROJECT_NAME.fish "$tempdir/usr/share/fish/vendor_completions.d/$PROJECT_NAME.fish" - install -Dm644 target/$TARGET/release/build/$PROJECT_NAME-*/out/_$PROJECT_NAME "$tempdir/usr/share/zsh/site-functions/_$PROJECT_NAME" + install -Dm644 target/$TARGET/release/build/$PROJECT_NAME-*/out/$PROJECT_NAME.bash "$tempdir/usr/share/bash-completion/completions/${PROJECT_NAME}" + install -Dm644 target/$TARGET/release/build/$PROJECT_NAME-*/out/$PROJECT_NAME.fish "$tempdir/usr/share/fish/completions/$PROJECT_NAME.fish" + install -Dm644 target/$TARGET/release/build/$PROJECT_NAME-*/out/_$PROJECT_NAME "$tempdir/usr/share/zsh/vendor-completions/_$PROJECT_NAME" # Control file mkdir "$tempdir/DEBIAN"