On Thu, 4 Sep 2014 08:54:48 +0200 Michał Górny <mgo...@gentoo.org> wrote:
> Dnia 2014-09-03, o godz. 23:48:50 > Brian Dolbec <dol...@gentoo.org> napisał(a): > > > if it still isn't correct, please reply with it corrected... > > much appreciated :) > > [[ -n ${repo_sync_type} && ( ${repo_sync_type} != rsync || > ${repo_sync_type} != websync ) ]] > Updated and rebased in. Thanks. diff --git a/bin/emerge-webrsync b/bin/emerge-webrsync index 2f0689c..d784959 100755 @@ -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 || ${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 -- Brian Dolbec <dolsen>
signature.asc
Description: PGP signature