Branch: Tag:

1999-08-25

1999-08-25 05:00:20 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

handles remote variables

Rev: NT/tools/lib.pike:1.7

62:    case 0:    case "sprsh":    case "SPRSH": +  if(string tmp=getenv("REMOTE_VARIABLES")) +  { +  array vars=({}); +  foreach(tmp/"\n",string var) +  if(search(var,"=")!=-1) +  vars+=({var}); +  cmd=vars+cmd; +  }    string tmp=getcwd();    string mnt=getenv("NTMOUNT");    if(mnt && strlen(mnt)) tmp=replace(tmp,mnt,"");