Browse Source

added version 4.x for bash supported versions

karasz/new-early
Aldas Nabazas 16 years ago
parent
commit
92c0c936dc
2 changed files with 3 additions and 2 deletions
  1. +2
    -1
      bin/sde-check-system
  2. +1
    -1
      lib/functions.in

+ 2
- 1
bin/sde-check-system

@ -3,7 +3,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: bin/sde-check-system
# Copyright (C) 2006 - 2008 The OpenSDE Project
# Copyright (C) 2006 - 2009 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
@ -124,6 +124,7 @@ fi
case $BASH_VERSION in
2.05b*) ;;
3.*) ;;
4.*) ;;
*) cat <<-EOT
Paranoia Check: Invalid 'bash' version ($BASH_VERSION)
The running bash version is not listed as supported version

+ 1
- 1
lib/functions.in

@ -46,7 +46,7 @@ get_expanded() {
done
}
;;
3*)
3*|4*)
get_expanded() {
local string="$1"; shift
while [ $# -gt 0 ]; do

Loading…
Cancel
Save