Skip to content

Commit

Permalink
Allowing for INSTALL_PATH var.
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Jahnke committed Sep 28, 2011
1 parent 3f23a55 commit 071f921
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ievms.sh
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ fail() { log "\nERROR: $*\n" ; exit 1 ; }


create_home() { create_home() {
ievms_home="${HOME}/.ievms" ievms_home="${HOME}/.ievms"
if INSTALL_PATH
then
ievms_home="${INSTALL_PATH}/.ievms"
fi
mkdir -p "${ievms_home}" mkdir -p "${ievms_home}"
cd "${ievms_home}" cd "${ievms_home}"
} }
Expand Down

0 comments on commit 071f921

Please sign in to comment.