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

bugfix

Rev: NT/tools/install:1.4
parent 96ab2486
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ inherit "lib.pike"; ...@@ -4,7 +4,7 @@ inherit "lib.pike";
int main(int argc, string *argv) int main(int argc, string *argv)
{ {
if(sscanf(argv[-1],"%*[a-zA-Z]:%*s")) if(sscanf(argv[-1],"%*[a-zA-Z]:%*s")==2)
{ {
argv[0]="copy"; argv[0]="copy";
if(argv[1]=="-c") argv=argv[..0]+argv[2..]; if(argv[1]=="-c") argv=argv[..0]+argv[2..];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment