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 | 11bdd3a6b0cc886992675be299a0dee7b733c659 (patch) | |
tree | 2061bd2e75e9f1fc77240b3500cf8f044c6263b6 /eclass/rox.eclass | |
parent | add ~x86, bug #204036 (diff) | |
download | historical-11bdd3a6b0cc886992675be299a0dee7b733c659.tar.gz historical-11bdd3a6b0cc886992675be299a0dee7b733c659.tar.bz2 historical-11bdd3a6b0cc886992675be299a0dee7b733c659.zip |
Fixing compatibility of wrapper so it REALLY works with /bin/sh (Bug #203987)
Diffstat (limited to 'eclass/rox.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}" |