fix missing logdir
This commit is contained in:
parent
2f896ee230
commit
46595c88d0
1 changed files with 2 additions and 0 deletions
|
@ -59,6 +59,8 @@ EOF
|
||||||
fi
|
fi
|
||||||
${MYSHELLCONFIG_BASE}/bin/git-myshellconfig-checkout ${gco}|| nok="not " 1>>"${MYSHELLCONFIG_LOGFILE}" 2>&1
|
${MYSHELLCONFIG_BASE}/bin/git-myshellconfig-checkout ${gco}|| nok="not " 1>>"${MYSHELLCONFIG_LOGFILE}" 2>&1
|
||||||
printf '%s\n' "${nok}synced" 1>&2
|
printf '%s\n' "${nok}synced" 1>&2
|
||||||
|
[ -z "$nok" ] && mkdir -pv "${MYSHELLCONFIG_LOGFILE}"
|
||||||
|
|
||||||
else
|
else
|
||||||
echo "git not installed, no configuration possible, please install git" >&2
|
echo "git not installed, no configuration possible, please install git" >&2
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue