`grails` function chooses between `./grailsw` and `$GRAILS_HOME`.

`$GRAILS_HOME` is used for older grails version.