mkdir fix

This commit is contained in:
accel 2022-01-12 00:03:44 +03:00
parent 88ebb6e43a
commit 54c6df3fd4

View File

@ -26,7 +26,7 @@ function zconfigs_local_load()
{ {
if [[ ! -a ${zconfig_local_path} ]]; then if [[ ! -a ${zconfig_local_path} ]]; then
zshlibs_log zconfig "local config missing, recreating from '${zconfig_shared_path}/zshconfig.example'" zshlibs_log zconfig "local config missing, recreating from '${zconfig_shared_path}/zshconfig.example'"
mkdir -p -m 700 ${zconfig_local_path} mkdir -p -m 700 "${zconfig_local_path}"
cp ${zconfig_shared_path}/zshconfig.example ${zconfig_local_path}/local.config.zsh cp ${zconfig_shared_path}/zshconfig.example ${zconfig_local_path}/local.config.zsh
fi fi
if [[ ! -d ${zconfig_local_path} ]]; then if [[ ! -d ${zconfig_local_path} ]]; then