Commit ecb7c3dc authored by Junichi Uekawa's avatar Junichi Uekawa

Warn when there is non-existing hookdir. (closes: #525420)

parent 81907570
......@@ -40,6 +40,8 @@ function loadhooks () {
if ! cp -aL "$HOOKDIR/"* "$BUILDPLACE/$hooks"; then
log "W: no hooks found in the hookdir '$HOOKDIR'"
fi
else
log "W: hookdir $HOOKDIR does not exist, skipping"
fi
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment