From: Philippe E. <ph...@us...> - 2002-04-04 02:08:57
|
Update of /cvsroot/oprofile/oprofile/dae In directory usw-pr-cvs1:/tmp/cvs-serv20617/oprofile/dae Modified Files: op_start Log Message: small fix for bash1 detection in dae/op_start Index: op_start =================================================================== RCS file: /cvsroot/oprofile/oprofile/dae/op_start,v retrieving revision 1.62 retrieving revision 1.63 diff -u -d -r1.62 -r1.63 --- op_start 3 Apr 2002 17:50:06 -0000 1.62 +++ op_start 4 Apr 2002 02:08:50 -0000 1.63 @@ -17,7 +17,7 @@ # # ensure bash2 -if [ "${BASH_VERSINFO[0]}" -lt 2 ]; then +if [ "`echo $BASH_VERSION | cut -b1`" -lt 2 ]; then exec /bin/bash2 $0 $@ fi |