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 D357F13877A for ; Mon, 16 Jun 2014 15:46:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2FEF2E0DC6; Mon, 16 Jun 2014 15:46:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2D03EE0DC3 for ; Mon, 16 Jun 2014 15:46:33 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 530BA340067 for ; Mon, 16 Jun 2014 15:46:32 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 41B8218873 for ; Mon, 16 Jun 2014 15:46:30 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1402933017.36c0773a77f8dba582487a1acdbb474f9ce32ec3.dol-sen@gentoo> Subject: [gentoo-commits] proj/portage:plugin-sync commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/emerge-webrsync X-VCS-Directories: bin/ X-VCS-Committer: dol-sen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: 36c0773a77f8dba582487a1acdbb474f9ce32ec3 X-VCS-Branch: plugin-sync Date: Mon, 16 Jun 2014 15:46:30 +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: 9ef62843-52e3-4704-92ac-9f0bd1d535af X-Archives-Hash: 1c492c221452e847d7570ed5c6ebd7a2 commit: 36c0773a77f8dba582487a1acdbb474f9ce32ec3 Author: Brian Dolbec gentoo org> AuthorDate: Fri May 2 22:57:31 2014 +0000 Commit: Brian Dolbec gmail com> CommitDate: Mon Jun 16 15:36:57 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=36c0773a emerge-webrsync: Add websync repo type as valid --- bin/emerge-webrsync | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/emerge-webrsync b/bin/emerge-webrsync index 2f0689c..43f92b6 100755 --- a/bin/emerge-webrsync +++ b/bin/emerge-webrsync @@ -501,8 +501,8 @@ main() { # This is a sanity check to help prevent people like funtoo users # from accidentally wiping out their git tree. - if [[ -n ${repo_sync_type} && ${repo_sync_type} != rsync ]] ; then - echo "The current sync-type attribute of repository 'gentoo' is not set to 'rsync':" >&2 + if [ [ -n ${repo_sync_type} ] && [ ${repo_sync_type} != rsync -o ${repo_sync_type} != websync ] ] ; then + echo "The current sync-type attribute of repository 'gentoo' is not set to 'rsync' or 'websync':" >&2 echo >&2 echo " sync-type=${repo_sync_type}" >&2 echo >&2