From: Felix Fietkau Date: Sun, 6 May 2012 08:25:46 +0000 (+0200) Subject: lua: put LUAPATH in quotes to prevent weird error messages when it is unset X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fubus.git;a=commitdiff_plain;h=a204ae358be1d5e0bb3a56bd54980851f553588e;ds=inline lua: put LUAPATH in quotes to prevent weird error messages when it is unset --- diff --git a/lua/CMakeLists.txt b/lua/CMakeLists.txt index 6c22bfc..b4fa4d9 100644 --- a/lua/CMakeLists.txt +++ b/lua/CMakeLists.txt @@ -31,7 +31,7 @@ IF(NOT LUAPATH) ) IF(BUILD_LUA) - IF(NOT ${LUA_CHECK_RES} EQUAL 0 OR ${LUAPATH} EQUAL "") + IF(NOT ${LUA_CHECK_RES} EQUAL 0 OR "${LUAPATH}" EQUAL "") MESSAGE(SEND_ERROR "Lua was not found on your system") ENDIF() ENDIF()