]> Frank Brehm's Git Trees - config/berta/etc.git/commitdiff
saving uncommitted changes in /etc prior to emerge run
authorFrank Brehm <frank@brehm-online.com>
Mon, 16 Jan 2017 12:24:28 +0000 (13:24 +0100)
committerFrank Brehm <frank@brehm-online.com>
Mon, 16 Jan 2017 12:24:28 +0000 (13:24 +0100)
bash/bashrc.d/bash_completion.sh

index bb0fdb61a86c778800e0371da096ea99f3c4f65f..6cca57410418951bc4ffe7cb851bd59ed48bfe78 100644 (file)
@@ -1,5 +1,5 @@
 # Check for interactive bash and that we haven't already been sourced.
-if [ -n "$BASH_VERSION" -a -n "$PS1" -a -z "$BASH_COMPLETION_COMPAT_DIR" ]; then
+if [ -n "${BASH_VERSION-}" -a -n "${PS1-}" -a -z "${BASH_COMPLETION_COMPAT_DIR-}" ]; then
 
     # Check for recent enough version of bash.
     if [ ${BASH_VERSINFO[0]} -gt 4 ] || \