Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2014 22:14:36 +0000 (UTC)
From:      Warren Block <wblock@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r45437 - head/share/pgpkeys
Message-ID:  <53e9404c.23ea.40107f36@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e9404c.23ea.40107f36>