summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-02-28 18:21:42 +0100
committerAlexis Ballier <aballier@gentoo.org>2016-02-28 18:21:52 +0100
commitaa6297e7c2c0773dfc5be78f6be19e8af61f2b3d (patch)
tree9201e5d20e4996b0ce75ce169b4988b550dedb72 /profiles/default
parentdev-lang/python: Lower eselect-python deps due to pythonX.Y-config fix (diff)
downloadgentoo-aa6297e7c2c0773dfc5be78f6be19e8af61f2b3d.tar.gz
gentoo-aa6297e7c2c0773dfc5be78f6be19e8af61f2b3d.tar.bz2
gentoo-aa6297e7c2c0773dfc5be78f6be19e8af61f2b3d.zip
profiles/default/bsd/fbsd/profile.bashrc: alias gnu tools only if present. This helps when building from linux.
Diffstat (limited to 'profiles/default')
-rw-r--r--profiles/default/bsd/fbsd/profile.bashrc11
1 files changed, 5 insertions, 6 deletions
diff --git a/profiles/default/bsd/fbsd/profile.bashrc b/profiles/default/bsd/fbsd/profile.bashrc
index 2293f49b1e11..6ddf594230b3 100644
--- a/profiles/default/bsd/fbsd/profile.bashrc
+++ b/profiles/default/bsd/fbsd/profile.bashrc
@@ -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.