replaced fatalExit function for 'inline' exit

exit on errors (set -e)
simplified if for NVM_DIR and NVM_SOURCE, corrected indentation
This commit is contained in:
Koen Punt committed 2014-03-25 20:51:39 +01:00
1 parent 7c45d62b37
commit 0787a55999
2 files changed
+8 -5

No files matched your search

+2
View File
@@ -1,5 +1,7 @@
#!/bin/bash
set -e
NVM_DIR="$HOME/.nvm"
if ! hash git 2>/dev/null; then