From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PqZvO-0000hL-Bm for garchives@archives.gentoo.org; Fri, 18 Feb 2011 23:39:46 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D66A8E0539; Fri, 18 Feb 2011 23:39:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id A3A30E0539 for ; Fri, 18 Feb 2011 23:39:38 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 35D191B405E for ; Fri, 18 Feb 2011 23:39:38 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 927C28006A for ; Fri, 18 Feb 2011 23:39:37 +0000 (UTC) From: "Ulrich Mueller" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Mueller" Message-ID: Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/ebuild.sh bin/misc-functions.sh X-VCS-Directories: bin/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Mueller X-VCS-Revision: af19eb79093292db5e3bc9467f3cf0cd79c8513c Date: Fri, 18 Feb 2011 23:39:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: f4a6201a10d4ddbbb7d31bf62ba6904d commit: af19eb79093292db5e3bc9467f3cf0cd79c8513c Author: Ulrich Mueller gentoo org> AuthorDate: Fri Feb 18 23:42:36 2011 +0000 Commit: Ulrich Mueller gentoo org> CommitDate: Fri Feb 18 23:45:01 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3Daf19eb79 docompress, prepcompress: Add missing quotes. --- bin/ebuild.sh | 4 ++-- bin/misc-functions.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index ebe2c65..d0cf84d 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -916,7 +916,7 @@ docompress() { f=3D$(strip_duplicate_slashes "${f}"); f=3D${f%/} [[ ${f:0:1} =3D / ]] || f=3D"/${f}" for g in "${PORTAGE_DOCOMPRESS_SKIP[@]}"; do - [[ ${f} =3D ${g} ]] && continue 2 + [[ ${f} =3D "${g}" ]] && continue 2 done PORTAGE_DOCOMPRESS_SKIP[${#PORTAGE_DOCOMPRESS_SKIP[@]}]=3D${f} done @@ -925,7 +925,7 @@ docompress() { f=3D$(strip_duplicate_slashes "${f}"); f=3D${f%/} [[ ${f:0:1} =3D / ]] || f=3D"/${f}" for g in "${PORTAGE_DOCOMPRESS[@]}"; do - [[ ${f} =3D ${g} ]] && continue 2 + [[ ${f} =3D "${g}" ]] && continue 2 done PORTAGE_DOCOMPRESS[${#PORTAGE_DOCOMPRESS[@]}]=3D${f} done diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 46be501..e1e5df1 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -103,7 +103,7 @@ prepcompress() { fi done for g in "${exclude[@]}"; do - if [[ ${f} =3D ${g} || ${f} =3D=3D "${g%/}"/* ]]; then + if [[ ${f} =3D "${g}" || ${f} =3D=3D "${g%/}"/* ]]; then unset include[i] continue 2 fi