From: | "Nirbheek Chauhan (nirbheek)" <nirbheek@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in eclass: nsplugins.eclass |
Date: | Fri, 01 May 2009 23:03:02 |
Message-Id: | E1M01ky-0003MO-3p@stork.gentoo.org |
1 | nirbheek 09/05/01 23:03:00 |
2 | |
3 | Modified: nsplugins.eclass |
4 | Log: |
5 | Previous commit spuriously introduced a [ -> [[ change which broke the eclass |
6 | |
7 | Revision Changes Path |
8 | 1.24 eclass/nsplugins.eclass |
9 | |
10 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/nsplugins.eclass?rev=1.24&view=markup |
11 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/nsplugins.eclass?rev=1.24&content-type=text/plain |
12 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/nsplugins.eclass?r1=1.23&r2=1.24 |
13 | |
14 | Index: nsplugins.eclass |
15 | =================================================================== |
16 | RCS file: /var/cvsroot/gentoo-x86/eclass/nsplugins.eclass,v |
17 | retrieving revision 1.23 |
18 | retrieving revision 1.24 |
19 | diff -u -r1.23 -r1.24 |
20 | --- nsplugins.eclass 1 May 2009 21:50:44 -0000 1.23 |
21 | +++ nsplugins.eclass 1 May 2009 23:03:00 -0000 1.24 |
22 | @@ -1,6 +1,6 @@ |
23 | # Copyright 1999-2009 Gentoo Foundation |
24 | # Distributed under the terms of the GNU General Public License v2 |
25 | -# $Header: /var/cvsroot/gentoo-x86/eclass/nsplugins.eclass,v 1.23 2009/05/01 21:50:44 nirbheek Exp $ |
26 | +# $Header: /var/cvsroot/gentoo-x86/eclass/nsplugins.eclass,v 1.24 2009/05/01 23:03:00 nirbheek Exp $ |
27 | # |
28 | # Author: Martin Schlemmer <azarah@g.o> |
29 | # |
30 | @@ -31,7 +31,7 @@ |
31 | pkg_mv_plugins() { |
32 | |
33 | # Move old plugins dir |
34 | - if [[ -d "${ROOT}/$1" -a ! -L "${ROOT}/$1" ]] |
35 | + if [ -d "${ROOT}/$1" -a ! -L "${ROOT}/$1" ] |
36 | then |
37 | mkdir -p "${ROOT}"/usr/$(get_libdir)/${PLUGINS_DIR} |
38 | cp -a "${ROOT}"/$1/* "${ROOT}"/usr/$(get_libdir)/${PLUGINS_DIR} |