profiles/default/bsd/fbsd/profile.bashrc: alias gnu tools only if present. This helps...
authorAlexis Ballier <aballier@gentoo.org>
Sun, 28 Feb 2016 17:21:42 +0000 (18:21 +0100)
committerAlexis Ballier <aballier@gentoo.org>
Sun, 28 Feb 2016 17:21:52 +0000 (18:21 +0100)
profiles/default/bsd/fbsd/profile.bashrc

index 2293f49b1e11c7e2d15cde5bff189d1bba06e65d..6ddf594230b3d6a53dcbec9d2695ca16b523536a 100644 (file)
@@ -2,12 +2,11 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Id$
 
-alias make=gmake
-alias patch=gpatch
-alias sed=gsed
-alias awk=gawk
-# findutils stuff
-type -P gfind > /dev/null && alias find=gfind
+type -P gmake  > /dev/null && alias make=gmake
+type -P gpath  > /dev/null && alias patch=gpatch
+type -P gsed   > /dev/null && alias sed=gsed
+type -P gaws   > /dev/null && alias awk=gawk
+type -P gfind  > /dev/null && alias find=gfind
 type -P gxargs > /dev/null && alias xargs=gxargs
 
 # Attempt to point the default SHELL used by configure scripts to bash.