Skip to content

Commit

Permalink
contrib/completions: install in $(datadir)/bash-completion/completions
Browse files Browse the repository at this point in the history
The old /etc/bash_completions.d/ is still available by
installing with something like:
  make install bashcompletionsdir='/etc/bash_completions.d

Thanks to Tomasz Kłoczko for the suggestion (see open-mpi#413 for details)

Signed-off-by: Brice Goglin <[email protected]>
  • Loading branch information
bgoglin committed Sep 17, 2020
1 parent 299d2a4 commit f4253b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/completion/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@

# This makefile is only reached when building in standalone mode

bashcompdir = $(sysconfdir)/bash_completion.d
dist_bashcomp_DATA = hwloc-completion.bash
bashcompletionsdir = $(datadir)/bash-completion/completions
dist_bashcompletions_DATA = hwloc-completion.bash

0 comments on commit f4253b4

Please sign in to comment.