Don't print paths twice with cpdir -v. (ast@)

This commit is contained in:
Ben Gras 2005-08-08 13:37:41 +00:00
parent b293e689a9
commit bbaa3f6bc3

View file

@ -538,7 +538,7 @@ int copy(const char *src, const char *dst, struct stat *srcst,
}
}
if (vflag) {
printf(action == COPY ? "cp %s %s\n" : "mv %s %s\n", src, dst);
printf(action == COPY ? "cp %s ..\n" : "mv %s ..\n", src);
}
return 1;
}