mojohaus / appassembler

https://www.mojohaus.org/appassembler/
MIT License
93 stars 49 forks source link

Generate daemon is not able to detect aix platform #18

Open davidkarlsen opened 8 years ago

davidkarlsen commented 8 years ago

bash-4.3$ uname -p powerpc bash-4.3$ uname -p | tr "[A-Z]" "[a-z]"

This is due to the locale being: LANG=no_NO

If I add the -A option uname -p | tr -A "[A-Z]" "[a-z]" | tr -d ' ' powerpc

with lang=US it would work ootb

from man: -A Performs all operations on a byte-by-byte basis using the ASCII collation order for ranges and character classes, instead of the collation order for the current locale.

however that option is only available on aix, not linux for instance.