diff options
author | Antoine Jacoutot <ajacoutot@gnome.org> | 2014-04-15 10:27:49 +0200 |
---|---|---|
committer | Antoine Jacoutot <ajacoutot@gnome.org> | 2014-04-15 10:27:49 +0200 |
commit | f5bd3785edfbebef04089fc52f804249d88b89de (patch) | |
tree | 6c5cb28323d33f50d81c211ace9bdebb845583c7 | |
parent | d213283fcb5228d05eb2c796579f18240e8467e8 (diff) | |
download | gnome-common-f5bd3785edfbebef04089fc52f804249d88b89de.tar.gz |
make program_VERSION a local variable
Otherwise we may end up overriding what was manually set in the
environment.
-rw-r--r-- | macros2/gnome-autogen.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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 |