aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunichi Uekawa <dancer@netfort.gr.jp>2009-12-05 11:40:19 +0900
committerJunichi Uekawa <dancer@netfort.gr.jp>2009-12-05 11:40:19 +0900
commitecb7c3dca0ece8b7a1a0da368b00d7b67eac0ccb (patch)
treedc1fe5a0792f8153d898e0e37738c0aa9f88b476
parent819075706c0e52f873b0466888bdf29373f92254 (diff)
downloadpbuilder-ecb7c3dca0ece8b7a1a0da368b00d7b67eac0ccb.tar
pbuilder-ecb7c3dca0ece8b7a1a0da368b00d7b67eac0ccb.tar.gz
Warn when there is non-existing hookdir. (closes: #525420)
-rw-r--r--pbuilder-runhooks2
1 files changed, 2 insertions, 0 deletions
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
}