summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index 5a75a79..d077213 100644
--- a/functions
+++ b/functions
@@ -664,7 +664,7 @@ 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