summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@gentoo.org>2009-05-01 23:03:00 +0000
committerNirbheek Chauhan <nirbheek@gentoo.org>2009-05-01 23:03:00 +0000
commitee547d1147f9befb9f4acf462085ce6bf39fc51a (patch)
tree221d645c4ce4a88d4707d707c4b09714802cc0ed /eclass/nsplugins.eclass
parentSmall fix for tests. Fixes #268126, thanks to Oliver Huber (diff)
downloadgentoo-2-ee547d1147f9befb9f4acf462085ce6bf39fc51a.tar.gz
gentoo-2-ee547d1147f9befb9f4acf462085ce6bf39fc51a.tar.bz2
gentoo-2-ee547d1147f9befb9f4acf462085ce6bf39fc51a.zip
Previous commit spuriously introduced a [ -> [[ change which broke the eclass
Diffstat (limited to 'eclass/nsplugins.eclass')
-rw-r--r--eclass/nsplugins.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/nsplugins.eclass b/eclass/nsplugins.eclass
index 0fff026e2962..fc95ed3f89e2 100644
--- a/eclass/nsplugins.eclass
+++ b/eclass/nsplugins.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/nsplugins.eclass,v 1.23 2009/05/01 21:50:44 nirbheek Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/nsplugins.eclass,v 1.24 2009/05/01 23:03:00 nirbheek Exp $
#
# Author: Martin Schlemmer <azarah@gentoo.org>
#
@@ -31,7 +31,7 @@ src_mv_plugins() {
pkg_mv_plugins() {
# Move old plugins dir
- if [[ -d "${ROOT}/$1" -a ! -L "${ROOT}/$1" ]]
+ if [ -d "${ROOT}/$1" -a ! -L "${ROOT}/$1" ]
then
mkdir -p "${ROOT}"/usr/$(get_libdir)/${PLUGINS_DIR}
cp -a "${ROOT}"/$1/* "${ROOT}"/usr/$(get_libdir)/${PLUGINS_DIR}