diff options
author | Andreas Maunz <andreas@maunz.de> | 2012-03-27 16:11:43 +0200 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2012-03-27 16:11:43 +0200 |
commit | 81edb34661f9ae2715a939e11923d86b4262fe43 (patch) | |
tree | 814c5858bb74fd4ed0819f009d301db4e73da58d | |
parent | c42950c2173eb2e32125c92fab6df681ccf8d2da (diff) |
Fixed log dir creation
-rwxr-xr-x | utils.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,8 +7,8 @@ check_dest() echo "Could not create OT_PREFIX directory! Aborting..." exit 1 fi - [ -d "$HOME/.opentox" ] || mkdir -p "$HOME/.opentox" - if ! [ -d "$HOME/.opentox" ]; then + [ -d "$HOME/.opentox/log" ] || mkdir -p "$HOME/.opentox/log" + if ! [ -d "$HOME/.opentox/log" ]; then echo "Could not create CONFIG (~/.opentox) directory! Aborting..." exit 1 fi |