diff options
author | Junichi Uekawa <dancer@netfort.gr.jp> | 2009-12-05 11:40:19 +0900 |
---|---|---|
committer | Junichi Uekawa <dancer@netfort.gr.jp> | 2009-12-05 11:40:19 +0900 |
commit | ecb7c3dca0ece8b7a1a0da368b00d7b67eac0ccb (patch) | |
tree | dc1fe5a0792f8153d898e0e37738c0aa9f88b476 | |
parent | 819075706c0e52f873b0466888bdf29373f92254 (diff) | |
download | pbuilder-ecb7c3dca0ece8b7a1a0da368b00d7b67eac0ccb.tar pbuilder-ecb7c3dca0ece8b7a1a0da368b00d7b67eac0ccb.tar.gz |
Warn when there is non-existing hookdir. (closes: #525420)
-rw-r--r-- | pbuilder-runhooks | 2 |
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 } |