We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b238bfb commit b173dbcCopy full SHA for b173dbc
tools/sync/reindex-project.ksh
@@ -32,7 +32,7 @@ function reindex_one
32
#
33
typeset -r log_conf_dir=$OPENGROK_INSTANCE_BASE/log/configs
34
if [[ ! -d $log_conf_dir ]]; then
35
- mkdir "$log_conf_dir"
+ mkdir -p "$log_conf_dir"
36
if (( $? != 0 )); then
37
print -u2 "cannot create directory $log_conf_dir"
38
return 1
@@ -43,7 +43,7 @@ function reindex_one
43
if [[ ! -f $log_conf || $template -nt $log_conf ]]; then
44
typeset project_log_dir=$OPENGROK_INSTANCE_BASE/log/$project_name
45
if [[ ! -d $project_log_dir ]]; then
46
- mkdir "$project_log_dir"
+ mkdir -p "$project_log_dir"
47
48
print -u2 "cannot create directory $project_log_dir"
49
0 commit comments