local waf_root = "{$WAF_ROOT}" local waf_cpath = waf_root.."/waf/lua/?.lua;"..waf_root.."/waf/conf/?.lua;"..waf_root.."/waf/html/?.lua;" local waf_sopath = waf_root.."/waf/conf/?.so;" if not package.path:find(waf_cpath) then package.path = waf_cpath .. package.path end if not package.cpath:find(waf_sopath) then package.cpath = waf_sopath .. package.cpath end