version.sh has some non-portable constructs

View thread