diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | pbuilder-runhooks | 7 |
2 files changed, 8 insertions, 1 deletions
@@ -1,5 +1,7 @@ 2002-09-25 Junichi Uekawa <dancer@debian.org> + * pbuilder-runhooks (hooks): do not error out if there are no hooks in the hookdir. + * debuild-pbuilder.1: fix typo. update date. add author and URL. diff --git a/pbuilder-runhooks b/pbuilder-runhooks index dcd3261..3c2f4a9 100644 --- a/pbuilder-runhooks +++ b/pbuilder-runhooks @@ -18,6 +18,9 @@ # # HISTORY: # $Log$ +# Revision 1.14 2002/09/25 08:55:44 dancer +# + * pbuilder-runhooks (hooks): do not error out if there are no hooks in the hookdir. +# # Revision 1.13 2002/02/24 12:06:55 dancer # release is ready, I've checked. # @@ -83,7 +86,9 @@ function loadhooks () { fi if [ -d "$HOOKDIR" ]; then mkdir -p "$BUILDPLACE/$hooks" - cp -a "$HOOKDIR/"* "$BUILDPLACE/$hooks" + if ! cp -a "$HOOKDIR/"* "$BUILDPLACE/$hooks"; then + echo "W: no hooks found on the hookdir" + fi fi } |