[Bug 215040] devel/gflags: gflags_completions.sh kills bash if bash-completion is used

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Dec 4 10:14:04 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215040

            Bug ID: 215040
           Summary: devel/gflags: gflags_completions.sh kills bash if
                    bash-completion is used
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet at FreeBSD.org
          Reporter: lantw44 at gmail.com
             Flags: maintainer-feedback?(sunpoet at FreeBSD.org)
          Assignee: sunpoet at FreeBSD.org

gflags_completions.sh is not intended to be loaded into an interactive bash
process. Please don't move it into ${PREFIX}/etc/bash_completion.d. It causes
bash to exit when bash-completion is loaded. If users use bash as login shell
and load bash-completion in ~/.bashrc or ~/.bash_login, it will cause them to
fail to login.

$ . /path/to/gflags_completions.sh 
bash: -1: bad substitution
<bash process exited>

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list