Hi Peter, On Thu, Jun 24, 2010 at 19:51, Peter Simons <[email protected]> wrote: > Log: > configure.ac: Incredibly enough, tr(1) on Solaris doesn't understand A-Z > syntax for ranges. > > Changes: > > Modified: nix/trunk/configure.ac > =================================================================== > --- nix/trunk/configure.ac 2010-06-24 17:51:19 UTC (rev 22405) > +++ nix/trunk/configure.ac 2010-06-24 17:51:24 UTC (rev 22406) > @@ -10,8 +10,8 @@ > > # Construct a Nix system name (like "i686-linux"). > AC_MSG_CHECKING([for the canonical Nix system name]) > -cpu_name=$(uname -p | tr 'A-Z ' 'a-z_') > -machine_name=$(uname -m | tr 'A-Z ' 'a-z_') > +cpu_name=$(uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ ' > 'abcdefghijklmnopqrstuvwxyz_') > +machine_name=$(uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ ' > 'abcdefghijklmnopqrstuvwxyz_') > > case $machine_name in > i*86) > @@ -30,7 +30,7 @@ > ;; > esac > > -sys_name=$(uname -s | tr 'A-Z ' 'a-z_') > +sys_name=$(uname -s | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ ' > 'abcdefghijklmnopqrstuvwxyz_') >
I tried to prot Nix on QNX, and I also had problem with tr which does not support the ending '_', could you check if the following is working on Solaris: tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ ' 'abcdefghijklmnopqrstuvwxyz' | tr -cd 'abcdefghijklmnopqrstuvwxyz' -- Nicolas Pierron http://www.linkedin.com/in/nicolasbpierron - http://nbp.name/ _______________________________________________ nix-dev mailing list [email protected] https://mail.cs.uu.nl/mailman/listinfo/nix-dev
