diff options
author | infirit <[email protected]> | 2014-12-02 11:13:14 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-12-02 11:16:35 +0100 |
commit | 9f48a9b66a8ec131a6c827a55b43291f430a1674 (patch) | |
tree | c5f83f1ac8001c8dd5489294921e394d9190919e | |
parent | cf14b660b289878b0a6e5a406e6fccd58e7026d6 (diff) | |
download | mate-common-9f48a9b66a8ec131a6c827a55b43291f430a1674.tar.bz2 mate-common-9f48a9b66a8ec131a6c827a55b43291f430a1674.tar.xz |
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
-rw-r--r-- | macros/mate-autogen | 1 |
1 files changed, 1 insertions, 0 deletions
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 |