diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-01-17 23:50:32 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-01-17 23:50:32 +0000 |
commit | 9ee2ef562369595a214cf3e852f7b980361acf83 (patch) | |
tree | fda9fb2cfe1c160ffc83ec17bb0f9a091820983c /libs/uvl/root | |
parent | e7fa9958dc382d7f93b43a6e28196ba8d50b80c6 (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-x | libs/uvl/root/usr/bin/uvl | 3 |
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], "." ) |