From 028f099952b74a625b45d9eb9ce8cc787e5abfae Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Mon, 16 Jan 2017 13:24:28 +0100 Subject: [PATCH] saving uncommitted changes in /etc prior to emerge run --- bash/bashrc.d/bash_completion.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash/bashrc.d/bash_completion.sh b/bash/bashrc.d/bash_completion.sh index bb0fdb6..6cca574 100644 --- a/bash/bashrc.d/bash_completion.sh +++ b/bash/bashrc.d/bash_completion.sh @@ -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 ] || \ -- 2.39.5