2008/6/2 Allan McRae <
mcrae_allan@hotmail.com>:
Antonio Huete Jimenez wrote:
>
> And there comes the idea I was talking about. I think that scripts
> should behave according to the operating from where they are running
> on. I'm doing some changes to scripts for doing so, but it will take
> me few days to have something useable.
> I also think that every portable code should be welcome whenever it
> doesn't break anything in ArchLinux and made scripts runnable on other
> OSes.
>
> What do you guys think?
Using openssl for this is optimal because it works the same on all
systems. Having code which detects operating system and uses specific
software in each case is ugly and should be avoided if at all possible.
And how do you plan to do OS specific checks and/or configurations for portability?