Skip to content

Commit

Permalink
Create SHENV_HOME if not present
Browse files Browse the repository at this point in the history
  • Loading branch information
sathyamvellal committed Apr 23, 2014
1 parent cb079f3 commit 8926578
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bash/shenvrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ if [ "$SHENV_HOME" == "" ]; then
return
fi

if [ ! -d $SHENV_HOME ]; then
mkdir $SHENV_HOME
fi

function envcreate()
{
if [ -f $SHENV_HOME/$1-shenv.sh ]; then
Expand Down

0 comments on commit 8926578

Please sign in to comment.