cp: invalid option -- 'o'
That's a typo. There is no implementation of cp
that has a -o
option on any Unix that I know of. My guess is that this option may safely be removed.
It may be that they meant cp -p
(preserve mode, timestamp and ownership when used with GNU cp
and others), or cp -i
for interactive prompting in case the file already exists.
They are obviously using GNU cp
though, since they intermingle operands with options. Ordinary tools usually stop parsing the command line at the first non-option, but GNU tools will try to be smart.
You can safely remove the -o option. Btw, is $OPENSSL_VERSION set?