The current MInix cp commands doesn't support the option mv expects
to be able to give to it. This patch can be reverted as soon as cp
has been imported.
Change-Id: If4d805726b7bfe4cd9aa2d9603c388b1df467050
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);
}