Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Dec 2016 10:14:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 215040] devel/gflags: gflags_completions.sh kills bash if bash-completion is used
Message-ID:  <bug-215040-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215040

            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@FreeBSD.org
          Reporter: lantw44@gmail.com
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)
          Assignee: sunpoet@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 caus=
es
bash to exit when bash-completion is loaded. If users use bash as login she=
ll
and load bash-completion in ~/.bashrc or ~/.bash_login, it will cause them =
to
fail to login.

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215040-13>