summaryrefslogtreecommitdiffhomepage
path: root/libs/uvl/root
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-01-17 23:50:32 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-01-17 23:50:32 +0000
commit9ee2ef562369595a214cf3e852f7b980361acf83 (patch)
treefda9fb2cfe1c160ffc83ec17bb0f9a091820983c /libs/uvl/root
parente7fa9958dc382d7f93b43a6e28196ba8d50b80c6 (diff)
libs/uvl:
- allow overriding the config directory in luci.uvl - support --configdir for uvl verify too
Diffstat (limited to 'libs/uvl/root')
-rwxr-xr-xlibs/uvl/root/usr/bin/uvl3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/uvl/root/usr/bin/uvl b/libs/uvl/root/usr/bin/uvl
index 83ed73941..e5db5c304 100755
--- a/libs/uvl/root/usr/bin/uvl
+++ b/libs/uvl/root/usr/bin/uvl
@@ -200,7 +200,8 @@ elseif arguments[1] == "verify" or arguments[1] == "verify-scheme" then
( not options['no-strict-lists'] and true or false )
local uvl = luci.uvl.UVL(
- type(options.schemedir) == "string" and options.schemedir
+ type(options.schemedir) == "string" and options.schemedir,
+ type(options.configdir) == "string" and options.configdir
)
local cso = luci.util.split( arguments[2], "." )