Permalink
Browse files

simple fix, mkdir -> mkdir -p

  • Loading branch information...
1 parent 996a16e commit d8f0888a4349021fb3fb9cb19271c3166f7a3521 Bryan Garza committed Apr 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 sour
View
2 sour
@@ -84,7 +84,7 @@ setDefaults() {
createNeededFiles() {
for directory in "${needed_dirs[@]}"; do
if [[ ! -d "$directory" ]]; then
- if ! mkdir "$directory" > /dev/null 2>&1; then
+ if ! mkdir -p "$directory" > /dev/null 2>&1; then
die "could not create directory $directory"
fi
fi

0 comments on commit d8f0888

Please sign in to comment.