webmcp

view framework/bin/webmcp_shell @ 132:3cafdf1143f3

Bugfix in json.type(...) function: Return nil if path is nonexistent, but return string "nil" if only last element is nil
author jbe
date Sun Jul 27 22:02:37 2014 +0200 (2014-07-27)
parents 9fdfb27f8e67
children
line source
1 #!/bin/sh
2 export WEBMCP_APP_BASEPATH="`pwd`"
3 export WEBMCP_CONFIG_NAME="$1"
4 export WEBMCP_INTERACTIVE="yes"
5 if [ "$WEBMCP_CONFIG_NAME" = "" ]; then
6 echo "Error: No config name given." > /dev/stderr
7 exit 1
8 fi
9 cd "`dirname "$0"`/../cgi-bin"
10 exec lua -i webmcp.lua

Impressum / About Us