Skip to content

Commit

Permalink
Merge pull request #9 from gdgib/G2-242-SplitInstaller
Browse files Browse the repository at this point in the history
G2-242 Fixed second phase to terminate on success
  • Loading branch information
gdgib authored Apr 3, 2018
2 parents 6b06f53 + 399843c commit 5f90e5c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,17 @@ EOF
echo "export PATH=\"\${PATH}:${BIN_DIR}\"" >> ~/.bash_profile
echo "Please create a new bash shell to use forklift"
fi
echo "Success!"
exit 0
;;
*)
fail "Unrecognized command ${COMMAND}"
echo "Unrecognized command ${COMMAND}"
exit 1
;;
esac
elif [[ $# -gt 0 ]]; then
fail "No arguments allowed"
echo "No arguments allowed"
exit 1
fi

TEMPDIR=$(mktemp -d)
Expand Down

0 comments on commit 5f90e5c

Please sign in to comment.