summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-01-23 09:49:30 +0000
committerJustin Lecher <jlec@gentoo.org>2013-01-23 09:49:30 +0000
commit36596361e95b956acf6fe23e3a72a6a1a8edee63 (patch)
treedc4a9a548de29fa10651be3625e42448a31a058d /eclass/intel-sdp.eclass
parentAdd support for license server, #447262 (diff)
downloadgentoo-2-36596361e95b956acf6fe23e3a72a6a1a8edee63.tar.gz
gentoo-2-36596361e95b956acf6fe23e3a72a6a1a8edee63.tar.bz2
gentoo-2-36596361e95b956acf6fe23e3a72a6a1a8edee63.zip
We are checking for return values not for output
Diffstat (limited to 'eclass/intel-sdp.eclass')
-rw-r--r--eclass/intel-sdp.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/intel-sdp.eclass b/eclass/intel-sdp.eclass
index f39d6d09fdbf..bdf6ab9a710a 100644
--- a/eclass/intel-sdp.eclass
+++ b/eclass/intel-sdp.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/intel-sdp.eclass,v 1.7 2013/01/23 09:44:24 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/intel-sdp.eclass,v 1.8 2013/01/23 09:49:30 jlec Exp $
# @ECLASS: intel-sdp.eclass
# @MAINTAINER:
@@ -260,7 +260,7 @@ intel-sdp_pkg_pretend() {
: ${CHECKREQS_DISK_BUILD:=256M}
check-reqs_pkg_pretend
- if [[ $(echo ${INTEL_LICENSE_FILE} | grep -q @) ]]; then
+ if echo ${INTEL_LICENSE_FILE} | grep -q @; then
einfo "Looks like you are using following license server:"
einfo " ${INTEL_LICENSE_FILE}"
return 0