summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rw-r--r--functions3
1 files changed, 2 insertions, 1 deletions
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