Skip to content

Commit

Permalink
Now when it prompts you for a directory, it properly expands ~ and en…
Browse files Browse the repository at this point in the history
…vironment variables like \$HOME.
  • Loading branch information
chicagoscala committed Sep 5, 2013
1 parent c8b4f38 commit 049d2a6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bin/installer.bash
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ esac

mesos_installation="/tmp"

function read_dir {
read dest_dir
eval echo $dest_dir
}

function install_mesos {
echo "Do you have mesos installed already? Type 'yes' or 'no' followed by [ENTER]:"
read installed_already
Expand Down

0 comments on commit 049d2a6

Please sign in to comment.