summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Villavicencio <the_paya@gentoo.org>2010-04-03 11:49:51 +0000
committerJavier Villavicencio <the_paya@gentoo.org>2010-04-03 11:49:51 +0000
commite2af432b7851708a9efbfb637699fe62e02abb35 (patch)
tree5fae945e6ebabe08c087f9cc65e10284664d0865 /profiles/default
parentVersion bump. Crash fixes, now uses libunique. (diff)
downloadhistorical-e2af432b7851708a9efbfb637699fe62e02abb35.tar.gz
historical-e2af432b7851708a9efbfb637699fe62e02abb35.tar.bz2
historical-e2af432b7851708a9efbfb637699fe62e02abb35.zip
Fix working dir on patch_install-sh_bsd().
Diffstat (limited to 'profiles/default')
-rw-r--r--profiles/default/bsd/ChangeLog6
-rw-r--r--profiles/default/bsd/fbsd/profile.bashrc3
2 files changed, 7 insertions, 2 deletions
diff --git a/profiles/default/bsd/ChangeLog b/profiles/default/bsd/ChangeLog
index 50064bc284a8..589bb67f22e0 100644
--- a/profiles/default/bsd/ChangeLog
+++ b/profiles/default/bsd/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for profile directory
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/profiles/default/bsd/ChangeLog,v 1.32 2010/04/01 08:20:18 the_paya Exp $
+# $Header: /var/cvsroot/gentoo-x86/profiles/default/bsd/ChangeLog,v 1.33 2010/04/03 11:49:50 the_paya Exp $
+
+ 03 Apr 2010; Javier Villavicencio <the_paya@gentoo.org>
+ fbsd/profile.bashrc:
+ Fix working dir on patch_install-sh_bsd().
01 Apr 2010; Javier Villavicencio <the_paya@gentoo.org>
fbsd/profile.bashrc:
diff --git a/profiles/default/bsd/fbsd/profile.bashrc b/profiles/default/bsd/fbsd/profile.bashrc
index 82d6465c171c..9d763478b87a 100644
--- a/profiles/default/bsd/fbsd/profile.bashrc
+++ b/profiles/default/bsd/fbsd/profile.bashrc
@@ -1,6 +1,6 @@
#!/bin/bash
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/profiles/default/bsd/fbsd/profile.bashrc,v 1.6 2010/04/01 08:20:18 the_paya Exp $
+# $Header: /var/cvsroot/gentoo-x86/profiles/default/bsd/fbsd/profile.bashrc,v 1.7 2010/04/03 11:49:51 the_paya Exp $
alias make=gmake
alias patch=gpatch
@@ -42,6 +42,7 @@ bsd-patch_install-sh() {
local EPDIR="${ECLASSDIR}/ELT-patches/install-sh"
local EPATCHES="${EPDIR}/1.5.6 ${EPDIR}/1.5.4 ${EPDIR}/1.5"
local ret=0
+ cd "${S}"
for file in $(find . -name "install-sh" -print); do
if [[ -n $(egrep "scriptversion=2005|scriptversion=2004" ${file}) ]]; then
einfo "Automatically patching parallel-make unfriendly install-sh."