-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
Description
It seems GNU coreutils doesn't mind if the user uses the recursive argument multiple times, this leads to incompatibility with our implementation since we reject it:
error: the argument '--recursive' cannot be used multiple times
I found this issue while using this script which calls cp like this:
cp -r "${srcdir}/${_pkg}/"* "${pkgdir}/opt/${_pkgname}" -RI'm not sure why it's being used like that but it works with GNU coreutils.
This issue might be more widespread as I expect other GNU utils to follow the same lenient behavior regarding arguments which set a flag.
Reactions are currently unavailable