From f5bd3785edfbebef04089fc52f804249d88b89de Mon Sep 17 00:00:00 2001 From: Antoine Jacoutot Date: Tue, 15 Apr 2014 10:27:49 +0200 Subject: make program_VERSION a local variable Otherwise we may end up overriding what was manually set in the environment. --- macros2/gnome-autogen.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/macros2/gnome-autogen.sh b/macros2/gnome-autogen.sh index d361c8e..4afc6bb 100644 --- a/macros2/gnome-autogen.sh +++ b/macros2/gnome-autogen.sh @@ -80,6 +80,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