[pacman-dev] [PATCH] [PATCH 9/9] relocalize using_ccache

Que Quotion quequotion at gmail.com
Mon Nov 5 13:50:22 UTC 2018


From: Que Quotion <quequotion at gmail.com>

Should have done this a when putting the two functions together

Signed-off-by: Que Quotion <quequotion at gmail.com>
---
 scripts/libmakepkg/buildenv/compiler.sh.in | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/scripts/libmakepkg/buildenv/compiler.sh.in b/scripts/libmakepkg/buildenv/compiler.sh.in
index 38399269..e2b31916 100644
--- a/scripts/libmakepkg/buildenv/compiler.sh.in
+++ b/scripts/libmakepkg/buildenv/compiler.sh.in
@@ -25,13 +25,12 @@ LIBMAKEPKG_BUILDENV_COMPILER_SH=1
 
 LIBRARY=${LIBRARY:-'@libmakepkgdir@'}
 
-source "$LIBRARY/util/message.sh"
 source "$LIBRARY/util/option.sh"
 
 build_options+=('ccache' 'distcc')
 buildenv_functions+=('buildenv_ccache' 'buildenv_distcc')
 
-using_ccache=0
+local using_ccache=0
 
 buildenv_ccache() {
 	if check_buildoption "ccache" "y"; then
-- 
2.19.1


More information about the pacman-dev mailing list