From 9f48a9b66a8ec131a6c827a55b43291f430a1674 Mon Sep 17 00:00:00 2001 From: infirit Date: Tue, 2 Dec 2014 11:13:14 +0100 Subject: mate-autogen: make program_VERSION a local variable Otherwise we may end up overriding what was manually set in the environment. Taken from gnome-common commit: f5bd3785edfbebef04089fc52f804249d88b89de --- macros/mate-autogen | 1 + 1 file changed, 1 insertion(+) diff --git a/macros/mate-autogen b/macros/mate-autogen index c7bad98..cd51e86 100644 --- a/macros/mate-autogen +++ b/macros/mate-autogen @@ -97,6 +97,7 @@ version_check() { vc_min_version=$4 vc_source=$5 vc_status=1 + local ${vc_variable}_VERSION vc_checkprog=`eval echo "\\$$vc_variable"` if [ -n "$vc_checkprog" ]; then -- cgit v1.2.1