From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-529044-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6A32B1381F3 for <garchives@archives.gentoo.org>; Fri, 30 Nov 2012 03:31:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0DAFB21C023; Fri, 30 Nov 2012 03:31:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7FE0921C023 for <gentoo-commits@lists.gentoo.org>; Fri, 30 Nov 2012 03:31:16 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 65F0D33D986 for <gentoo-commits@lists.gentoo.org>; Fri, 30 Nov 2012 03:31:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id BD545E5436 for <gentoo-commits@lists.gentoo.org>; Fri, 30 Nov 2012 03:31:13 +0000 (UTC) From: "Christoph Junghans" <kleiner_otti@gmx.de> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Christoph Junghans" <kleiner_otti@gmx.de> Message-ID: <1354246254.cfa327e9178ca019543d81bdddfb2898023e98e0.kleiner_otti@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: eclass/ X-VCS-Repository: proj/sci X-VCS-Files: eclass/intel-sdp.eclass X-VCS-Directories: eclass/ X-VCS-Committer: kleiner_otti X-VCS-Committer-Name: Christoph Junghans X-VCS-Revision: cfa327e9178ca019543d81bdddfb2898023e98e0 X-VCS-Branch: master Date: Fri, 30 Nov 2012 03:31:13 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ead6e9ce-59d9-40f9-98e8-357930ebb021 X-Archives-Hash: 150700e2c59f46d000cd5a569783b72c commit: cfa327e9178ca019543d81bdddfb2898023e98e0 Author: Christoph Junghans <ottxor <AT> gentoo <DOT> org> AuthorDate: Fri Nov 30 03:30:54 2012 +0000 Commit: Christoph Junghans <kleiner_otti <AT> gmx <DOT> de> CommitDate: Fri Nov 30 03:30:54 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=cfa327e9 fix typo in intel-sdp_pkg_pretend --- eclass/intel-sdp.eclass | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/eclass/intel-sdp.eclass b/eclass/intel-sdp.eclass index 3602b6d..d80e310 100644 --- a/eclass/intel-sdp.eclass +++ b/eclass/intel-sdp.eclass @@ -255,7 +255,7 @@ _isdp_run-test() { # * Check for space requirements being fullfilled # @CODE intel-sdp_pkg_pretend() { - local warn=1 dir dirs i ret arch a p + local warn=1 dir dirs ret arch a p : ${CHECKREQS_DISK_BUILD:=256M} check-reqs_pkg_pretend @@ -266,8 +266,9 @@ intel-sdp_pkg_pretend() { "${EPREFIX}/opt/intel/licenses" ) for dir in "${dirs[@]}" ; do - ebegin "Checking for a license in: ${dirs[$i]}" - [[ $( ls "${dirs[$i]}"/*lic 2>/dev/null ) ]]; ret=$? + ebegin "Checking for a license in: ${dir}" + #maybe use nullglob or [[ $(echo ${dir/*lic) != "${dir}/*lic" ]] + [[ $( ls "${dir}"/*lic 2>/dev/null ) ]]; ret=$? eend ${ret} if [[ ${ret} == "0" ]]; then warn=${ret}