From ecb7c3dca0ece8b7a1a0da368b00d7b67eac0ccb Mon Sep 17 00:00:00 2001 From: Junichi Uekawa Date: Sat, 5 Dec 2009 11:40:19 +0900 Subject: Warn when there is non-existing hookdir. (closes: #525420) --- pbuilder-runhooks | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pbuilder-runhooks b/pbuilder-runhooks index 33b522e..0612cee 100644 --- a/pbuilder-runhooks +++ b/pbuilder-runhooks @@ -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 } -- cgit v1.2.3