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
commitc395e2a076f7f043f488621a8b9eac0d74a05b6c (patch)
tree18ba1534394b6be00e987751bfa223a628d3fc0b /profiles/default-macos
parentstable, bug 71311 (diff)
downloadhistorical-c395e2a076f7f043f488621a8b9eac0d74a05b6c.tar.gz
historical-c395e2a076f7f043f488621a8b9eac0d74a05b6c.tar.bz2
historical-c395e2a076f7f043f488621a8b9eac0d74a05b6c.zip
Alias sed to gsed iff /usr/bin/gsed found; bug #58087.
Diffstat (limited to 'profiles/default-macos')
-rw-r--r--profiles/default-macos/ppc/10.3/profile.bashrc2
-rw-r--r--profiles/default-macos/ppc/10.4/profile.bashrc2
2 files changed, 2 insertions, 2 deletions
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