drunna I agree with you, that is completely incorrect logic.
First I am parsing file to read it and source release variables and then checking for RELEASe value ! not good programming mate
we are using redhat os.
bash on source (build)server is
GNU bash, version 3.2.25(1)-release (x86_64-redhat-linux-gnu)
Copyright (C) 2005 Free Software Foundation, Inc.
version sh (AT&T Research) 93s+ 2008-01-31
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
on target server
I can tell easily bash version
GNU bash, version 3.00.15(1)-release (x86_64-redhat-linux-gnu)
Copyright (C) 2004 Free Software Foundation, Inc.
I am unable to tell ksh version as that is what I am unable to determine.
Red Hat Enterprise Linux AS release 4 (Nahant Update 7)