From: Andre Noll Date: Fri, 15 Oct 2010 16:20:18 +0000 (+0200) Subject: gsu: Remove check on bash version. X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=36395c9a656df7f1834d0840c07662885adcf52b;p=gsu.git gsu: Remove check on bash version. It hurts more than the possible incompatibilities. --- diff --git a/funcs/gsu b/funcs/gsu index f536717..e7a49fe 100644 --- a/funcs/gsu +++ b/funcs/gsu @@ -400,17 +400,6 @@ export -f _gsu_check_options gsu() { local i - - gsu_is_a_number "${BASH_VERSINFO[0]}" - if [[ $ret -lt 0 ]]; then - gsu_msg "fatal: failed to determine bash version" - exit 1 - fi - - if [[ "${BASH_VERSINFO[0]}" -lt 4 ]]; then - gsu_msg "fatal: This script requires at least bash 4.0" - exit 1 - fi _gsu_self="$(basename $0)" gsu_name="${gsu_name:=$_gsu_self}" gsu_config_var_prefix="${gsu_config_var_prefix:=$gsu_name}"