Use old regexp instead re in 2.x for pre-R12B-4 compatibility.

SVN Revision: 2771
This commit is contained in:
Badlop 2009-12-02 23:26:28 +00:00
parent 6ce660b9c2
commit 325e67f4cb
1 changed files with 1 additions and 1 deletions

View File

@ -1947,7 +1947,7 @@ get_node(global, Node, ["db"], Query, Lang) ->
end;
get_node(global, Node, ["backup"], Query, Lang) ->
HomeDir = re:replace(filename:nativename(os:cmd("echo $HOME")), "\n", "", [{return, list}]),
{ok, HomeDir, _} = regexp:sub(filename:nativename(os:cmd("echo $HOME")), "\n", ""),
ResS = case node_backup_parse_query(Node, Query) of
nothing -> [];
ok -> [?XREST("Submitted")];