summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2011-07-08 15:06:22 +0000
committerNaohiro Aota <naota@gentoo.org>2011-07-08 15:06:22 +0000
commit7748b26f686830928c99a8b059e6426928cc0ec0 (patch)
tree55f9960c049b6cf0994bd559696e5d462fe6eb86 /profiles/default
parentkeep the mask up-to-date (diff)
downloadgentoo-2-7748b26f686830928c99a8b059e6426928cc0ec0.tar.gz
gentoo-2-7748b26f686830928c99a8b059e6426928cc0ec0.tar.bz2
gentoo-2-7748b26f686830928c99a8b059e6426928cc0ec0.zip
Check if findutils stuffs exists.
Diffstat (limited to 'profiles/default')
-rw-r--r--profiles/default/bsd/fbsd/profile.bashrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/profiles/default/bsd/fbsd/profile.bashrc b/profiles/default/bsd/fbsd/profile.bashrc
index 53d49af18fcf..3b2b00b8b773 100644
--- a/profiles/default/bsd/fbsd/profile.bashrc
+++ b/profiles/default/bsd/fbsd/profile.bashrc
@@ -1,14 +1,14 @@
#!/bin/bash
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/profiles/default/bsd/fbsd/profile.bashrc,v 1.9 2011/07/05 21:15:41 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/profiles/default/bsd/fbsd/profile.bashrc,v 1.10 2011/07/08 15:06:22 naota Exp $
alias make=gmake
alias patch=gpatch
alias sed=gsed
alias awk=gawk
# findutils stuff
-alias find=gfind
-alias xargs=gxargs
+type -P gfind && alias find=gfind
+type -P gxargs && alias xargs=gxargs
# Attempt to point the default SHELL used by configure scripts to bash.
# while most should work with BSD's bourne just fine, the extra scripts