From 9ff931b17cc0890acdfdaa203fc37ea49aa42cd4 Mon Sep 17 00:00:00 2001 From: dancer Date: Wed, 10 Dec 2003 23:18:48 +0000 Subject: + + * debuild-pbuilder.1: fix document formatting error, from Roland Stigge. + + * pbuilder-runhooks (hooks): Try and detect file name non-matching case + for hooks, from Dale Amon. --- pbuilder-runhooks | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'pbuilder-runhooks') diff --git a/pbuilder-runhooks b/pbuilder-runhooks index ee1e9c3..fac6a80 100644 --- a/pbuilder-runhooks +++ b/pbuilder-runhooks @@ -18,6 +18,13 @@ # # HISTORY: # $Log$ +# Revision 1.17 2003/12/10 23:18:48 dancer +# + +# + * debuild-pbuilder.1: fix document formatting error, from Roland Stigge. +# + +# + * pbuilder-runhooks (hooks): Try and detect file name non-matching case +# + for hooks, from Dale Amon. +# # Revision 1.16 2003/11/16 07:08:54 dancer # + * THANKS: add # + @@ -155,6 +162,9 @@ function executehooks () { fi for fn in "$BUILDPLACE/$hooks/$prefix"[0-9][0-9]* ; do case "$fn" in + "$BUILDPLACE/$hooks/$prefix"'[0-9][0-9]*') + echo "W: no hooks of type ${prefix} found -- ignoring" + ;; *~) echo "W: skipping an editor backup file $fn" ;; @@ -170,7 +180,8 @@ function executehooks () { filetype=$(basename "$fn" ) echo "W: execute priv not set on file $filetype, not executing." else - echo "W: no hooks of type ${prefix} found" + # Should it reach here ? This case should be caught in the above case. + echo "W: no hooks of type ${prefix} found -- internal error in logic" fi fi ;; -- cgit v1.2.3