Author: eelco Date: Mon Nov 21 12:18:26 2011 New Revision: 30502 URL: https://nixos.org/websvn/nix/?rev=30502&sc=1
Log: * Escape the [ and ] characters in the sed call, otherwise autoconf will eat them. Modified: nix/trunk/configure.ac Modified: nix/trunk/configure.ac ============================================================================== --- nix/trunk/configure.ac Sun Nov 20 21:51:17 2011 (r30501) +++ nix/trunk/configure.ac Mon Nov 21 12:18:26 2011 (r30502) @@ -30,7 +30,7 @@ *) # Strip the version number from names such as `gnu0.3', # `darwin10.2.0', etc. - system="$machine_name-`echo $host_os | "$SED" -e's/[0-9.]*$//g'`";; + system="$machine_name-`echo $host_os | "$SED" -e's/@<:@0-9.@:>@*$//g'`";; esac]) AC_MSG_RESULT($system) _______________________________________________ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits