From owner-svn-doc-head@FreeBSD.ORG Mon Aug 11 22:14:37 2014 Return-Path: Delivered-To: svn-doc-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 183EE711 for ; Mon, 11 Aug 2014 22:14:37 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E3ACE2B9F for ; Mon, 11 Aug 2014 22:14:36 +0000 (UTC) Received: from wblock (uid 1265) (envelope-from wblock@FreeBSD.org) id 23ea by svn.freebsd.org (DragonFly Mail Agent v0.9+); Mon, 11 Aug 2014 22:14:36 +0000 From: Warren Block Date: Mon, 11 Aug 2014 22:14:36 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r45437 - head/share/pgpkeys X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <53e9404c.23ea.40107f36@svn.freebsd.org> X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2014 22:14:37 -0000 Author: wblock Date: Mon Aug 11 22:14:36 2014 New Revision: 45437 URL: http://svnweb.freebsd.org/changeset/doc/45437 Log: Un-escape two asterisks to improve compatibility with bash. PR: 192534 Submitted by: yaneurabeya@gmail.com Modified: head/share/pgpkeys/checkkey.sh Modified: head/share/pgpkeys/checkkey.sh ============================================================================== --- head/share/pgpkeys/checkkey.sh Mon Aug 11 19:11:28 2014 (r45436) +++ head/share/pgpkeys/checkkey.sh Mon Aug 11 22:14:36 2014 (r45437) @@ -234,8 +234,8 @@ for key in ${keyids} ; do now_s=$( date "+%s" ) # 86400 == # seconds in a normal day expire_int_d=$(( ( ${expires_s} - ${now_s} ) / 86400 )) - exp_min=$(( 1 \* 365 )) # Min expiry time is 1 year - exp_max=$(( 3 \* 365 + 1 )) # Max expiry time is 3 years + exp_min=$(( 1 * 365 )) # Min expiry time is 1 year + exp_max=$(( 3 * 365 + 1 )) # Max expiry time is 3 years # We add 1 day because in a 3-year # period, probability of a leap day # is 297/400, about 0.74250