X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=lib.sh;h=6df53110c3e39b60416a9c9ce6d05abe4257d619;hb=648c24133ae448cae0ccaf8a85a1b18cb5652887;hp=70be68df0433531e27c5f7ab58e99bf8350a305e;hpb=6ca1d9bd09d69a729b389694866006c985eba3e0;p=config%2Fdotfiles.git diff --git a/lib.sh b/lib.sh index 70be68d..6df5311 100644 --- a/lib.sh +++ b/lib.sh @@ -2,7 +2,7 @@ # # Their setup.sh script sources this file. -# Copyright (C) 2009-2014 Simon Ruderich +# Copyright (C) 2009-2018 Simon Ruderich # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -68,7 +68,7 @@ cmd_i() { # Usage: sed_i ... # -# sed -i is not compatible due to different implementations. See cmd_i. +# sed -i is not portable due to different implementations. See cmd_i. sed_i() { cmd_i sed "$@" } @@ -111,7 +111,6 @@ simple_cpp() { # # - Debian (debian) # - Gentoo (gentoo) -# - Mac OS X (darwin) # - Solaris/OpenSolaris (sun) # - FreeBSD (freebsd) # @@ -121,8 +120,6 @@ os() { echo debian elif test -f /etc/gentoo-release; then echo gentoo - elif test x`uname` = xDarwin; then - echo darwin elif test x`uname` = xSunOS; then echo sun elif test x`uname` = xFreeBSD; then