summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-11-16 16:09:34 +0000
committerMamoru Komachi <usata@gentoo.org>2004-11-16 16:09:34 +0000
commite30c76312f42c5058ae213686241bd6c432e51af (patch)
tree7c2a8591d07ea4bd54f77a88e62d12cd86a32b70
parentstable, bug 71311 (Manifest recommit) (diff)
downloadgentoo-2-e30c76312f42c5058ae213686241bd6c432e51af.tar.gz
gentoo-2-e30c76312f42c5058ae213686241bd6c432e51af.tar.bz2
gentoo-2-e30c76312f42c5058ae213686241bd6c432e51af.zip
Alias sed to gsed iff /usr/bin/gsed found; bug #58087.
-rw-r--r--profiles/default-darwin/macos/10.3/profile.bashrc2
-rw-r--r--profiles/default-darwin/macos/10.4/profile.bashrc2
-rw-r--r--profiles/default-macos-10.3/profile.bashrc2
-rw-r--r--profiles/default-macos-10.4/profile.bashrc2
-rw-r--r--profiles/default-macos/ppc/10.3/profile.bashrc2
-rw-r--r--profiles/default-macos/ppc/10.4/profile.bashrc2
6 files changed, 6 insertions, 6 deletions
diff --git a/profiles/default-darwin/macos/10.3/profile.bashrc b/profiles/default-darwin/macos/10.3/profile.bashrc
index b1d8a5493a0c..8cfd86460720 100644
--- a/profiles/default-darwin/macos/10.3/profile.bashrc
+++ b/profiles/default-darwin/macos/10.3/profile.bashrc
@@ -7,4 +7,4 @@ export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/X11R6/lib/pkgconfig"
alias libtool=glibtool
alias libtoolize=glibtoolize
-alias sed=gsed \ No newline at end of file
+[ -x /usr/bin/gsed ] && alias sed=gsed
diff --git a/profiles/default-darwin/macos/10.4/profile.bashrc b/profiles/default-darwin/macos/10.4/profile.bashrc
index 8cda367b2dda..f94978df6da6 100644
--- a/profiles/default-darwin/macos/10.4/profile.bashrc
+++ b/profiles/default-darwin/macos/10.4/profile.bashrc
@@ -2,4 +2,4 @@ export MACOSX_DEPLOYMENT_TARGET="10.4"
alias libtool=glibtool
alias libtoolize=glibtoolize
-alias sed=gsed \ No newline at end of file
+[ -x /usr/bin/gsed ] && alias sed=gsed
diff --git a/profiles/default-macos-10.3/profile.bashrc b/profiles/default-macos-10.3/profile.bashrc
index 30b1892e6908..8ddb364d80af 100644
--- a/profiles/default-macos-10.3/profile.bashrc
+++ b/profiles/default-macos-10.3/profile.bashrc
@@ -5,4 +5,4 @@ export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/X11R6/lib/pkgconfig"
alias libtool=glibtool
alias libtoolize=glibtoolize
-alias sed=gsed
+[ -x /usr/bin/gsed ] && alias sed=gsed
diff --git a/profiles/default-macos-10.4/profile.bashrc b/profiles/default-macos-10.4/profile.bashrc
index f4dc14b5a88c..7b081c800dc3 100644
--- a/profiles/default-macos-10.4/profile.bashrc
+++ b/profiles/default-macos-10.4/profile.bashrc
@@ -1,3 +1,3 @@
alias libtool=glibtool
alias libtoolize=glibtoolize
-alias sed=gsed
+[ -x /usr/bin/gsed ] && alias sed=gsed
diff --git a/profiles/default-macos/ppc/10.3/profile.bashrc b/profiles/default-macos/ppc/10.3/profile.bashrc
index 30b1892e6908..8ddb364d80af 100644
--- a/profiles/default-macos/ppc/10.3/profile.bashrc
+++ b/profiles/default-macos/ppc/10.3/profile.bashrc
@@ -5,4 +5,4 @@ export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/X11R6/lib/pkgconfig"
alias libtool=glibtool
alias libtoolize=glibtoolize
-alias sed=gsed
+[ -x /usr/bin/gsed ] && alias sed=gsed
diff --git a/profiles/default-macos/ppc/10.4/profile.bashrc b/profiles/default-macos/ppc/10.4/profile.bashrc
index f4dc14b5a88c..7b081c800dc3 100644
--- a/profiles/default-macos/ppc/10.4/profile.bashrc
+++ b/profiles/default-macos/ppc/10.4/profile.bashrc
@@ -1,3 +1,3 @@
alias libtool=glibtool
alias libtoolize=glibtoolize
-alias sed=gsed
+[ -x /usr/bin/gsed ] && alias sed=gsed