[geany/geany-plugins] 20223b: Actually stop looking for Lua packages once we found one

Enrico Tröger git-noreply at geany.org
Fri Dec 28 14:37:53 UTC 2012


Branch:      refs/heads/master
Author:      Enrico Tröger <enrico.troeger at uvena.de>
Committer:   Enrico Tröger <enrico.troeger at uvena.de>
Date:        Fri, 28 Dec 2012 14:37:53 UTC
Commit:      20223b5b42f700e897c5517a8b1322a1a61c8ed9
             https://github.com/geany/geany-plugins/commit/20223b5b42f700e897c5517a8b1322a1a61c8ed9

Log Message:
-----------
Actually stop looking for Lua packages once we found one

Before the loop ran through all package names and just took the
last item.


Modified Paths:
--------------
    build/geanylua.m4

Modified: build/geanylua.m4
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -10,7 +10,7 @@ AC_DEFUN([GP_CHECK_GEANYLUA],
 
         for L in lua5.1 lua51 lua-5.1 lua; do
             PKG_CHECK_EXISTS([$L],
-                [LUA_PKG_NAME=$L],[])
+                [LUA_PKG_NAME=$L]; break,[])
         done])
 
     LUA_VERSION=5.1



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list