File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ EXTRA_DIST = CHANGELOG.md $(pkgdata_DATA) bash_completion.sh.in .dir-locals.el \
36
36
37
37
install-data-hook :
38
38
tmpfile=` mktemp $$ {TMPDIR:-/tmp}/bash_completion.XXXXXX` && \
39
- $(SED ) -e ' s|- /etc/bash_completion\.d|- $(compatdir)|' \
39
+ $(SED ) -e ' s|( /etc/bash_completion\.d|( $(compatdir)|' \
40
40
$(DESTDIR )$(datadir ) /$(PACKAGE ) /bash_completion > $$ tmpfile && \
41
41
cat $$ tmpfile > $(DESTDIR )$(datadir ) /$(PACKAGE ) /bash_completion && \
42
42
rm $$ tmpfile
Original file line number Diff line number Diff line change @@ -3424,6 +3424,7 @@ _comp__init_collect_startup_configs()
3424
3424
if [[ ${BASH_COMPLETION_COMPAT_DIR-} ]]; then
3425
3425
compat_dirs+=(" $BASH_COMPLETION_COMPAT_DIR " )
3426
3426
else
3427
+ # Keep in sync with install-data-hook at Makefile.am
3427
3428
compat_dirs+=(/etc/bash_completion.d)
3428
3429
# Similarly as for the "completions" dir, look up from relative to
3429
3430
# bash_completion, primarily for installed-with-prefix and
You can’t perform that action at this time.
0 commit comments