From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0305013829C for ; Thu, 2 Jun 2016 06:12:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0AB0B21C051; Thu, 2 Jun 2016 06:12:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A9F8021C051 for ; Thu, 2 Jun 2016 06:12:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 17BA4340BDD for ; Thu, 2 Jun 2016 06:12:47 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 236DD980 for ; Thu, 2 Jun 2016 06:12:42 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1464847840.e7fb57859b18a1c5ef3fb22d71ac8a6bf74e5375.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/install-qa-check.d/ X-VCS-Repository: proj/portage X-VCS-Files: bin/install-qa-check.d/60openrc X-VCS-Directories: bin/install-qa-check.d/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: e7fb57859b18a1c5ef3fb22d71ac8a6bf74e5375 X-VCS-Branch: master Date: Thu, 2 Jun 2016 06:12:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b614a828-4ea5-4951-9a22-a466330db80c X-Archives-Hash: 10401e9da97af83fde8f80dd767b71c2 commit: e7fb57859b18a1c5ef3fb22d71ac8a6bf74e5375 Author: Zac Medico gentoo org> AuthorDate: Thu Jun 2 06:10:40 2016 +0000 Commit: Zac Medico gentoo org> CommitDate: Thu Jun 2 06:10:40 2016 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=e7fb5785 install-qa-check.d/60openrc: validate bash for openrc-run shebangs bin/install-qa-check.d/60openrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/install-qa-check.d/60openrc b/bin/install-qa-check.d/60openrc index 28e3bbf..0ab27f6 100644 --- a/bin/install-qa-check.d/60openrc +++ b/bin/install-qa-check.d/60openrc @@ -11,7 +11,7 @@ openrc_check() { [[ ! -e ${i} ]] && continue if [[ ${d} == /etc/init.d && ${i} != *.sh ]] ; then # skip non-shell-script for bug #451386 - [[ $(head -n1 "${i}") =~ ^#!.*[[:space:]/](runscript|sh)$ ]] || continue + [[ $(head -n1 "${i}") =~ ^#!.*[[:space:]/](openrc-run|runscript|sh)$ ]] || continue if [[ $(head -n1 "${i}") == '#!/sbin/runscript' ]] ; then eqawarn "QA Notice: #!/sbin/runscript is deprecated, use #!/sbin/openrc-run instead:" while read -r ;