svn commit: r45437 - head/share/pgpkeys

Warren Block wblock at FreeBSD.org
Mon Aug 11 22:14:37 UTC 2014


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 at 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


More information about the svn-doc-all mailing list