From 8b19be5a9fda9da678166d93a4ccc800f80614dd Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Thu, 22 Nov 2012 12:15:26 -0500 Subject: functions: only show the basename of a deprecated hook Signed-off-by: Dave Reisner --- functions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions b/functions index e370190..491fc6c 100644 --- a/functions +++ b/functions @@ -627,7 +627,8 @@ run_build_hook() { error "$script is a broken symlink to $(readlink "$script")" return 1 fi - warning "Hook '%s' is deprecated. Replace it with '%s' in your config" "$script" "${realscript##*/}" + warning "Hook '%s' is deprecated. Replace it with '%s' in your config" \ + "${script##*/}" "${realscript##*/}" script=$realscript fi -- cgit v1.2.3-24-g4f1b