diff --git a/bin/mv/mv.c b/bin/mv/mv.c index ebdf9d43c..0899bd4ce 100644 --- a/bin/mv/mv.c +++ b/bin/mv/mv.c @@ -347,7 +347,12 @@ copy(char *from, char *to) int status; if ((pid = vfork()) == 0) { +#if defined(__minix) + /* LSC: This is required as long as we have not imported cp */ + execl(_PATH_CP, "cp", vflg ? "-Rpv" : "-Rp", "--", from, to, NULL); +#else execl(_PATH_CP, "mv", vflg ? "-PRpv" : "-PRp", "--", from, to, NULL); +#endif /* defined(__minix) */ warn("%s", _PATH_CP); _exit(1); }