Diff

util/dependencies.lua @ 5842:1a71069dcacf

Backout ae48bf828f21
author Kim Alvefur <zash@zash.se>
date Sun, 22 Sep 2013 00:37:04 +0200
parent 5830:ae48bf828f21
child 5843:fb6573e191cf
line wrap: on
line diff
--- a/util/dependencies.lua	Mon Feb 07 13:24:42 2011 +0100
+++ b/util/dependencies.lua	Sun Sep 22 00:37:04 2013 +0200
@@ -11,9 +11,9 @@
 function softreq(...) local ok, lib =  pcall(require, ...); if ok then return lib; else return nil, lib; end end
 
 -- Required to be able to find packages installed with luarocks
---if not softreq "luarocks.loader" then -- LuaRocks 2.x
---	softreq "luarocks.require"; -- LuaRocks <1.x
---end
+if not softreq "luarocks.loader" then -- LuaRocks 2.x
+	softreq "luarocks.require"; -- LuaRocks <1.x
+end
 
 function missingdep(name, sources, msg)
 	print("");