let you specify <command> or <execute> for execute actions - backwards compat

This commit is contained in:
Dana Jansens 2007-07-13 11:37:10 -04:00
parent ddea4dcedd
commit 6ed8bd929d

View file

@ -39,7 +39,9 @@ static gpointer setup_func(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node)
o = g_new0(Options, 1); o = g_new0(Options, 1);
if ((n = parse_find_node("command", node))) { if ((n = parse_find_node("command", node)) ||
(n = parse_find_node("execute", node)))
{
gchar *s = parse_string(doc, n); gchar *s = parse_string(doc, n);
o->cmd = parse_expand_tilde(s); o->cmd = parse_expand_tilde(s);
g_free(s); g_free(s);