phanect/nvm — pull request #1 by phanect (2014-01-01 03:07:27+00:00)
Title: Changed shebang from #!/bin/sh to #!/bin/bash

Some non-POSIX features are used in this file, so this script does not work on other shell such as dash.
On Ubuntu 13.10, /bin/sh points /bin/dash, so this script doesn't work.

Reference: Dash as /bin/sh https://wiki.ubuntu.com/DashAsBinSh
The Debian policy manual has long mandated that "shell scripts specifying '/bin/sh' as interpreter must only use POSIX features"