It has been reported that those variables cause problems, for example:
https://savannah.gnu.org/support/index.php?108987
The problem is naming: The '$RM' name does not clearly say the semantics of the variable (is that rm -rf, is that rm -f or rm -r, or plain /bin/rm only?). Scripts sourcing funclib.sh or using bootstrap can override those variables with command with slightly different semantics not compatible with semantics we expect in boostrap project. What's worse there are users exporting those variables in environment...
I tend to remove those variables from funclib.sh .. and if some of those is really needed, we can have something like FL_RM (FuncLib) instead of plain RM. There might be potential users of those variables now .. but to me, it looks like it is still worth braking it now, when there is relatively small userbase. Any ideas?
It has been reported that those variables cause problems, for example:
https://savannah.gnu.org/support/index.php?108987
The problem is naming: The '$RM' name does not clearly say the semantics of the variable (is that
rm -rf, is thatrm -forrm -r, or plain/bin/rmonly?). Scripts sourcingfunclib.shor usingbootstrapcan override those variables with command with slightly different semantics not compatible with semantics we expect inboostrapproject. What's worse there are users exporting those variables in environment...I tend to remove those variables from funclib.sh .. and if some of those is really needed, we can have something like
FL_RM(FuncLib) instead of plainRM. There might be potential users of those variables now .. but to me, it looks like it is still worth braking it now, when there is relatively small userbase. Any ideas?