mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-08-16 18:43:43 +00:00

Some shells do not have a nullglob feature, including dash (default /bin/sh on Ubuntu) and the Almquist shell (default /bin/sh on FreeBSD). An mv(1) command in setup_dir is failing due to a glob not matching anything, so use a more widely supported construction.