From 12584ca34ec7fb13739d7d4a98269ddf5571fd77 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 19 Oct 2013 22:34:08 +1300 Subject: Make failed loading due to old Bash explicit --- bash/bash_profile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bash/bash_profile') diff --git a/bash/bash_profile b/bash/bash_profile index e23ec458..038f370c 100644 --- a/bash/bash_profile +++ b/bash/bash_profile @@ -1,5 +1,8 @@ # Give up completely if no BASH_VERSINFO (<2.0) if [ -z "$BASH_VERSINFO" ]; then + printf \ + '%s: %s is too old to work with this configuration.\n' \ + "${BASH##*/}" "$BASH_VERSION" >&2 return fi -- cgit v1.2.3