[pacman-dev] [PATCH] libmakepkg: fix missing dependency on error.sh
Eli Schwartz
eschwartz at archlinux.org
Tue Apr 16 13:58:46 UTC 2019
When the executable checking was refactored into libmakepkg, it carried
with it, usage of $E_* error codes, which need to be declared from
error.sh but are only available when the parent program already sources
error.sh -- fix by adding the necessary dependency.
Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
---
scripts/libmakepkg/executable/vcs.sh.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/libmakepkg/executable/vcs.sh.in b/scripts/libmakepkg/executable/vcs.sh.in
index 46631f39..399ae1d4 100644
--- a/scripts/libmakepkg/executable/vcs.sh.in
+++ b/scripts/libmakepkg/executable/vcs.sh.in
@@ -23,6 +23,7 @@ LIBMAKEPKG_EXECUTABLE_VCS_SH=1
LIBRARY=${LIBRARY:-'@libmakepkgdir@'}
+source "$LIBRARY/util/error.sh"
source "$LIBRARY/util/option.sh"
executable_functions+=('executable_vcs')
--
2.21.0
More information about the pacman-dev
mailing list