From: | "Alexis Ballier (aballier)" <aballier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in profiles/default/bsd/fbsd: profile.bashrc |
Date: | Fri, 23 Apr 2010 11:02:06 |
Message-Id: | 20100423110200.3B6BE317E3@corvid.gentoo.org |
1 | aballier 10/04/23 11:02:00 |
2 | |
3 | Modified: profile.bashrc |
4 | Log: |
5 | Do not try to access $S if it does not exist. |
6 | |
7 | Revision Changes Path |
8 | 1.8 profiles/default/bsd/fbsd/profile.bashrc |
9 | |
10 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/default/bsd/fbsd/profile.bashrc?rev=1.8&view=markup |
11 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/default/bsd/fbsd/profile.bashrc?rev=1.8&content-type=text/plain |
12 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/default/bsd/fbsd/profile.bashrc?r1=1.7&r2=1.8 |
13 | |
14 | Index: profile.bashrc |
15 | =================================================================== |
16 | RCS file: /var/cvsroot/gentoo-x86/profiles/default/bsd/fbsd/profile.bashrc,v |
17 | retrieving revision 1.7 |
18 | retrieving revision 1.8 |
19 | diff -u -r1.7 -r1.8 |
20 | --- profile.bashrc 3 Apr 2010 11:49:51 -0000 1.7 |
21 | +++ profile.bashrc 23 Apr 2010 11:02:00 -0000 1.8 |
22 | @@ -1,6 +1,6 @@ |
23 | #!/bin/bash |
24 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
25 | -# $Header: /var/cvsroot/gentoo-x86/profiles/default/bsd/fbsd/profile.bashrc,v 1.7 2010/04/03 11:49:51 the_paya Exp $ |
26 | +# $Header: /var/cvsroot/gentoo-x86/profiles/default/bsd/fbsd/profile.bashrc,v 1.8 2010/04/23 11:02:00 aballier Exp $ |
27 | |
28 | alias make=gmake |
29 | alias patch=gpatch |
30 | @@ -39,6 +39,10 @@ |
31 | if [[ -z $(type -P gpatch) ]]; then |
32 | return 0 |
33 | fi |
34 | + |
35 | + # Do nothing if $S does not exist |
36 | + [ -d "${S}" ] || return 0 |
37 | + |
38 | local EPDIR="${ECLASSDIR}/ELT-patches/install-sh" |
39 | local EPATCHES="${EPDIR}/1.5.6 ${EPDIR}/1.5.4 ${EPDIR}/1.5" |
40 | local ret=0 |