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 CCF04138262 for ; Mon, 23 May 2016 11:33:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8BD221419F; Mon, 23 May 2016 11:33:06 +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 DA9FD1419F for ; Mon, 23 May 2016 11:33:05 +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 17AD2340A99 for ; Mon, 23 May 2016 11:33:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 06CC9AA2 for ; Mon, 23 May 2016 11:33:02 +0000 (UTC) From: "Ian Delaney" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ian Delaney" Message-ID: <1464003167.bbc496079e65ccea5ba434990cc53667bc0b3a5f.idella4@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/rsyslog/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/rsyslog/rsyslog-8.18.0.ebuild X-VCS-Directories: app-admin/rsyslog/ X-VCS-Committer: idella4 X-VCS-Committer-Name: Ian Delaney X-VCS-Revision: bbc496079e65ccea5ba434990cc53667bc0b3a5f X-VCS-Branch: master Date: Mon, 23 May 2016 11:33:02 +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: 0e26704e-5a98-4251-9d6c-09c3e2789d88 X-Archives-Hash: 6b62b1cdcd754e0c2315fa4297196773 commit: bbc496079e65ccea5ba434990cc53667bc0b3a5f Author: Göktürk Yüksek gentoo org> AuthorDate: Sat May 21 17:33:53 2016 +0000 Commit: Ian Delaney gentoo org> CommitDate: Mon May 23 11:32:47 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbc49607 app-admin/rsyslog: bash syntax tidy replace POSIX '[' with the bash '[[' in 8.18.0 Package-Manager: portage-2.2.28 Closes: https://github.com/gentoo/gentoo/pull/1511 Signed-off-by: Ian Delaney gentoo.org> app-admin/rsyslog/rsyslog-8.18.0.ebuild | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app-admin/rsyslog/rsyslog-8.18.0.ebuild b/app-admin/rsyslog/rsyslog-8.18.0.ebuild index 6e00e29..5e00e6b 100644 --- a/app-admin/rsyslog/rsyslog-8.18.0.ebuild +++ b/app-admin/rsyslog/rsyslog-8.18.0.ebuild @@ -121,7 +121,7 @@ src_unpack() { if use doc; then if [[ ${PV} == "9999" ]]; then local _EGIT_BRANCH= - if [ -n "${EGIT_BRANCH}" ]; then + if [[ -n "${EGIT_BRANCH}" ]]; then # Cannot use rsyslog commits/branches for documentation repository _EGIT_BRANCH=${EGIT_BRANCH} unset EGIT_BRANCH @@ -130,7 +130,7 @@ src_unpack() { git-r3_fetch "${DOC_REPO_URI}" git-r3_checkout "${DOC_REPO_URI}" "${S}"/docs - if [ -n "${_EGIT_BRANCH}" ]; then + if [[ -n "${_EGIT_BRANCH}" ]]; then # Restore previous EGIT_BRANCH information EGIT_BRANCH=${_EGIT_BRANCH} fi @@ -269,7 +269,7 @@ src_test() { if ! emake --jobs 1 check; then eerror "Test suite failed! :(" - if [ -z "${_has_increased_ulimit}" ]; then + if [[ -z "${_has_increased_ulimit}" ]]; then eerror "Probably because open file limit couldn't be set to 3072." fi @@ -376,13 +376,13 @@ pkg_config() { # Make sure the certificates directory exists local CERTDIR="${EROOT}/etc/ssl/${PN}" - if [ ! -d "${CERTDIR}" ]; then + if [[ ! -d "${CERTDIR}" ]]; then mkdir "${CERTDIR}" || die fi einfo "Your certificates will be stored in ${CERTDIR}" # Create a default CA if needed - if [ ! -f "${CERTDIR}/${PN}_ca.cert.pem" ]; then + if [[ ! -f "${CERTDIR}/${PN}_ca.cert.pem" ]]; then einfo "No CA key and certificate found in ${CERTDIR}, creating them for you..." certtool --generate-privkey \ --outfile "${CERTDIR}/${PN}_ca.privkey.pem" &>/dev/null