summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--functions1
1 files changed, 1 insertions, 0 deletions
diff --git a/functions b/functions
index 81927d0..64de5b2 100644
--- a/functions
+++ b/functions
@@ -615,6 +615,7 @@ run_build_hook() {
fi
# source
+ unset -f build
if ! . "$script"; then
error 'Failed to read %s' "$script"
return 1