Revert "bin/mv: Temporary fix"
This is no longer required as /bin/cp has been imported. This reverts commit e3257d3ff741480d640cefe2507a77e65322f40d.
This commit is contained in:
parent
5da400ecaa
commit
428aa25dc6
1 changed files with 0 additions and 5 deletions
|
@ -347,12 +347,7 @@ copy(char *from, char *to)
|
||||||
int status;
|
int status;
|
||||||
|
|
||||||
if ((pid = vfork()) == 0) {
|
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);
|
execl(_PATH_CP, "mv", vflg ? "-PRpv" : "-PRp", "--", from, to, NULL);
|
||||||
#endif /* defined(__minix) */
|
|
||||||
warn("%s", _PATH_CP);
|
warn("%s", _PATH_CP);
|
||||||
_exit(1);
|
_exit(1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue