Gentoo Archives: gentoo-commits

From: "Jim Ramsay (lack)" <lack@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: rox.eclass
Date: Wed, 02 Jan 2008 13:22:24
Message-Id: E1JA3Xy-0004ub-Cr@stork.gentoo.org
1 lack 08/01/02 13:22:14
2
3 Modified: rox.eclass
4 Log:
5 Fixing compatibility of wrapper so it REALLY works with /bin/sh (Bug #203987)
6
7 Revision Changes Path
8 1.27 eclass/rox.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/rox.eclass?rev=1.27&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/rox.eclass?rev=1.27&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/rox.eclass?r1=1.26&r2=1.27
13
14 Index: rox.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/rox.eclass,v
17 retrieving revision 1.26
18 retrieving revision 1.27
19 diff -u -r1.26 -r1.27
20 --- rox.eclass 7 Dec 2007 15:40:34 -0000 1.26
21 +++ rox.eclass 2 Jan 2008 13:22:13 -0000 1.27
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2004 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/rox.eclass,v 1.26 2007/12/07 15:40:34 lack Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/rox.eclass,v 1.27 2008/01/02 13:22:13 lack Exp $
27
28 # ROX eclass Version 3
29
30 @@ -134,7 +134,7 @@
31 Exec=${exec}
32 TryExec=${exec%% *}
33 Icon=${icon}
34 - Categories=ROX;Application;${type};
35 + Categories=${type};
36 EOF
37
38 local extra=${1}; shift
39 @@ -162,13 +162,13 @@
40 dodir /usr/bin/
41 cat >"${D}/usr/bin/${WRAPPERNAME}" <<EOF
42 #!/bin/sh
43 -if [[ "\${LIBDIRPATH}" ]]; then
44 +if [ "\${LIBDIRPATH}" ]; then
45 export LIBDIRPATH="\${LIBDIRPATH}:${LIBDIR}"
46 else
47 export LIBDIRPATH="${LIBDIR}"
48 fi
49
50 -if [[ "\${APPDIRPATH}" ]]; then
51 +if [ "\${APPDIRPATH}" ]; then
52 export APPDIRPATH="\${APPDIRPATH}:${APPDIR}"
53 else
54 export APPDIRPATH="${APPDIR}"
55
56
57
58 --
59 gentoo-commits@g.o mailing list