Merge pull request #312 from quiqueg/master

Fixed bash error caused by lack of double quotes
diff --git a/nvm.sh b/nvm.sh
index 719bf55..70f90da 100755
--- a/nvm.sh
+++ b/nvm.sh
@@ -262,8 +262,8 @@
               curl -L -C - --progress-bar $url -o "$tmptarball" && \
               nvm_checksum `${shasum} "$tmptarball" | awk '{print $1}'` $sum && \
               tar -xzf "$tmptarball" -C "$tmpdir" --strip-components 1 && \
-              mv "$tmpdir" "$NVM_DIR/$VERSION" && \
-              rm -f "$tmptarball"
+              rm -f "$tmptarball" && \
+              mv "$tmpdir" "$NVM_DIR/$VERSION"
               )
             then
               nvm use $VERSION