Skip to content
Snippets Groups Projects
Commit b3d5a46d authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

better output messages..

Rev: NT/tools/sprshd:1.18
parent 7aeb5338
No related branches found
No related tags found
No related merge requests found
......@@ -109,8 +109,6 @@ void handle_incoming_connection(object(Stdio.File) io)
string dir=cmd[0];
cmd=cmd[1..];
write("Doing %s in %s\n",cmd*" ",dir);
while(sscanf(cmd[0],"%s=%s",string key, string val))
{
// Magic
......@@ -144,9 +142,12 @@ void handle_incoming_connection(object(Stdio.File) io)
{
env[key]=val;
}
werror("%s = %s\n",key,env[key]);
cmd=cmd[1..];
}
write("Doing %s in %s\n",cmd*" ",dir);
switch(lower_case(cmd[0]))
{
case "mkdir":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment