TT#139455 etckeeper: obey NGCPCTL_BASE

Change-Id: I82fdde1f03a25409c330c83abe769dbd64149f04
mr10.3.1
ngcp-config 5 years ago
parent 39cf245a62
commit 6ad43764ea

@ -20,8 +20,8 @@ timestamp_replacementchars=''
# main script
log_debug "cd /etc"
cd /etc
log_debug "cd ${NGCPCTL_BASE}"
cd "${NGCPCTL_BASE}"
log_debug "type -p etckeeper"
if ! type -p etckeeper &>/dev/null ; then
@ -35,7 +35,7 @@ if ! [ -d .git ] ; then
exit 0
fi
log_info "Checking state of /etc files"
log_info "Checking state of ${NGCPCTL_BASE} files"
if is_git_clean ; then
log_info "OK: nothing to commit."
else

Loading…
Cancel
Save