Skip to content

Commit 4dd7439

Browse files
ihorovanpipy
authored andcommitted
Makefile: set bash COMPL_DIR to FreeBSD expected defaults (tj#1042)
See official conventions: https://docs.freebsd.org/en/books/porters-handbook/special/#shell-completion
1 parent bfd338a commit 4dd7439

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ else
1010
endif
1111
ifeq ($(OS), Darwin)
1212
COMPL_DIR ?= "$(DESTDIR)$(SYSCONFDIR)/bash_completion.d"
13+
else ifeq ($(OS), FreeBSD)
14+
COMPL_DIR ?= "$(DESTDIR)$(SYSCONFDIR)/bash_completion.d"
1315
else
1416
COMPL_DIR ?= "$(DESTDIR)$(SYSCONFDIR)/bash-completion/completions"
1517
endif

0 commit comments

Comments
 (0)