diff options
author | Jim Ramsay <lack@gentoo.org> | 2008-01-02 13:22:13 +0000 |
---|---|---|
committer | Jim Ramsay <lack@gentoo.org> | 2008-01-02 13:22:13 +0000 |
commit | 9d4248abfe84f601e17b69c153dbb348b53996b9 (patch) | |
tree | 1ba0f6e4f008570eec8df30cc058f2b4c4e6483a /eclass | |
parent | add ~x86, bug #204036 (diff) | |
download | gentoo-2-9d4248abfe84f601e17b69c153dbb348b53996b9.tar.gz gentoo-2-9d4248abfe84f601e17b69c153dbb348b53996b9.tar.bz2 gentoo-2-9d4248abfe84f601e17b69c153dbb348b53996b9.zip |
Fixing compatibility of wrapper so it REALLY works with /bin/sh (Bug #203987)
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/rox.eclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/rox.eclass b/eclass/rox.eclass index 90e81a0ae69e..bc90d369cfc7 100644 --- a/eclass/rox.eclass +++ b/eclass/rox.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/rox.eclass,v 1.26 2007/12/07 15:40:34 lack Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/rox.eclass,v 1.27 2008/01/02 13:22:13 lack Exp $ # ROX eclass Version 3 @@ -134,7 +134,7 @@ rox_desktop_entry() { Exec=${exec} TryExec=${exec%% *} Icon=${icon} - Categories=ROX;Application;${type}; + Categories=${type}; EOF local extra=${1}; shift @@ -162,13 +162,13 @@ rox_install_wrapper() { dodir /usr/bin/ cat >"${D}/usr/bin/${WRAPPERNAME}" <<EOF #!/bin/sh -if [[ "\${LIBDIRPATH}" ]]; then +if [ "\${LIBDIRPATH}" ]; then export LIBDIRPATH="\${LIBDIRPATH}:${LIBDIR}" else export LIBDIRPATH="${LIBDIR}" fi -if [[ "\${APPDIRPATH}" ]]; then +if [ "\${APPDIRPATH}" ]; then export APPDIRPATH="\${APPDIRPATH}:${APPDIR}" else export APPDIRPATH="${APPDIR}" |