Author: eelco
Date: Sun Nov 20 19:23:50 2011
New Revision: 30492
URL: https://nixos.org/websvn/nix/?rev=30492&sc=1

Log:
* "sed" on FreeBSD doesn't know the "+" operator.

Modified:
   nix/trunk/configure.ac

Modified: nix/trunk/configure.ac
==============================================================================
--- nix/trunk/configure.ac      Sun Nov 20 19:22:53 2011        (r30491)
+++ nix/trunk/configure.ac      Sun Nov 20 19:23:50 2011        (r30492)
@@ -27,13 +27,10 @@
      linux-gnu*)
        # For backward compatibility, strip the `-gnu' part.
        system="$machine_name-linux";;
-     freebsd*)
-       # Strip the version number (e.g. freebsd8.2).
-       system="$machine_name-freebsd";;
      *)
         # 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
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to