mksh doesnot support =~ (boo#1104531)
OBS-URL: https://build.opensuse.org/package/show/shells/bash-completion?expand=0&rev=96
This commit is contained in:
parent
4d4f13f86b
commit
4f79023159
@ -7,7 +7,7 @@
|
|||||||
@@ -1,5 +1,5 @@
|
@@ -1,5 +1,5 @@
|
||||||
# Check for interactive bash and that we haven't already been sourced.
|
# Check for interactive bash and that we haven't already been sourced.
|
||||||
-if [ -n "${BASH_VERSION-}" -a -n "${PS1-}" -a -z "${BASH_COMPLETION_VERSINFO-}" ]; then
|
-if [ -n "${BASH_VERSION-}" -a -n "${PS1-}" -a -z "${BASH_COMPLETION_VERSINFO-}" ]; then
|
||||||
+if [[ -n "${BASH_VERSION-}" && $- =~ i && -z "${BASH_COMPLETION_VERSINFO-}" ]]; then
|
+if [[ -n "${BASH_VERSION-}" && $- = *i* && -z "${BASH_COMPLETION_VERSINFO-}" ]]; then
|
||||||
|
|
||||||
# Check for recent enough version of bash.
|
# Check for recent enough version of bash.
|
||||||
if [ ${BASH_VERSINFO[0]} -gt 4 ] || \
|
if [ ${BASH_VERSINFO[0]} -gt 4 ] || \
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 22 07:06:51 UTC 2018 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
- Modify patch PS1-completion-boo903362.patch to make it work with
|
||||||
|
mksh as well (boo#1104531)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 2 13:25:06 UTC 2018 - antoine.belvire@opensuse.org
|
Thu Aug 2 13:25:06 UTC 2018 - antoine.belvire@opensuse.org
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user