summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rw-r--r--functions5
1 files changed, 1 insertions, 4 deletions
diff --git a/functions b/functions
index 90ee02e..573fbb8 100644
--- a/functions
+++ b/functions
@@ -622,10 +622,7 @@ run_build_hook() {
# check for deprecation
if [[ -L $script ]]; then
- if ! realscript=$(readlink -e "$script"); then
- error "$script is a broken symlink to $(readlink "$script")"
- return 1
- fi
+ realscript=$(readlink -e "$script")
warning "Hook '%s' is deprecated. Replace it with '%s' in your config" \
"${script##*/}" "${realscript##*/}"
script=$realscript