Use POSIX-compliant [ instead of [[. (While /bin/sh is bash or equivalent on some platforms, on others it is true and true /bin/sh.)
Merge pull request #1 from pgib/selfupdate

POSIX update