svn commit: r45437 - head/share/pgpkeys

Warren Block <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
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:	[email protected]

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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.