[Tkabber-dev] [tclgpg] r60 committed - * tclgpg.test: Protected setting gnupg directory permissions to allow...

codesite-noreply at google.com codesite-noreply at google.com
Sun Aug 16 00:09:06 MSD 2009


Revision: 60
Author: sgolovan
Date: Sat Aug 15 13:08:28 2009
Log: 	* tclgpg.test: Protected setting gnupg directory permissions to allow
	  to run test suite on Windows.

http://code.google.com/p/tclgpg/source/detail?r=60

Modified:
  /trunk/ChangeLog
  /trunk/tclgpg.test

=======================================
--- /trunk/ChangeLog	Sat Aug 15 12:58:44 2009
+++ /trunk/ChangeLog	Sat Aug 15 13:08:28 2009
@@ -10,6 +10,9 @@

  	* Makefile.in: Fixed test target.

+	* tclgpg.test: Protected setting gnupg directory permissions to allow
+	  to run test suite on Windows.
+
  2009-08-14  Sergei Golovan  <sgolovan at nes.ru>

  	* tclgpg.tcl: Fixed message and signatures encodings when armor
=======================================
--- /trunk/tclgpg.test	Sat Aug 15 12:58:44 2009
+++ /trunk/tclgpg.test	Sat Aug 15 13:08:28 2009
@@ -16,7 +16,7 @@
  set auto_path [linsert $auto_path 0 [file dirname [info script]]]

  set env(GNUPGHOME) [file join [file dirname [info script]] gnupg]
-file attributes $env(GNUPGHOME) -permissions 0700
+catch {file attributes $env(GNUPGHOME) -permissions 0700}

  package forget gpg
  package require -exact gpg 1.0


More information about the Tkabber-dev mailing list