Skip to content

Commit

Permalink
no need for -d on mkdir -p: checks that automatically
Browse files Browse the repository at this point in the history
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
  • Loading branch information
Nico Schottelius authored and wayneeseguin committed Oct 5, 2010
1 parent aef5f67 commit 980f1e9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions binscripts/rvm-update-head
Expand Up @@ -15,9 +15,7 @@ fi

rvm_path="${rvm_path:-"$HOME/.rvm"}"

if [[ ! -d "$rvm_path/src" ]] ; then
mkdir -p "$rvm_path/src/"
fi
mkdir -p "$rvm_path/src/"

builtin cd "$rvm_path/src"

Expand Down

0 comments on commit 980f1e9

Please sign in to comment.