xbps-src: Actually unset subpkg functions

This commit is contained in:
Piotr Wójcik 2019-08-26 21:32:38 +02:00 committed by Piotr
parent 81007c76cb
commit 18a8a3c690

View file

@ -237,7 +237,7 @@ run_pkg_hooks() {
unset_package_funcs() {
local f
for f in "$(typeset -F)"; do
for f in $(typeset -F); do
case "$f" in
*_package)
unset -f "$f"