[Pgp-tools-commit] r809 - in trunk: caff debian

Guilhem Moulin guilhem-guest at moszumanska.debian.org
Tue May 26 22:11:14 UTC 2015


Author: guilhem-guest
Date: 2015-05-26 22:11:14 +0000 (Tue, 26 May 2015)
New Revision: 809

Modified:
   trunk/caff/caff
   trunk/debian/changelog
Log:
Automatically mkdir ~/.caff if it doesn't exit.

Regression introduced in r776.  Closes #786933.

Modified: trunk/caff/caff
===================================================================
--- trunk/caff/caff	2015-04-20 08:33:32 UTC (rev 808)
+++ trunk/caff/caff	2015-05-26 22:11:14 UTC (rev 809)
@@ -656,7 +656,7 @@
     $CONFIG{'caffhome'} //= $ENV{'HOME'}.'/.caff';
     $KEYSBASE  = $CONFIG{'caffhome'}.'/keys';
     $GNUPGHOME = $CONFIG{'caffhome'}.'/gnupghome';
-    foreach ($KEYSBASE, $GNUPGHOME) {
+    foreach ($CONFIG{'caffhome'}, $KEYSBASE, $GNUPGHOME) {
         next if -d $_;
         debug("Creating $_");
         mkdir $_, 0700 or myerror(1, "Cannot mkdir $_: $!");

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2015-04-20 08:33:32 UTC (rev 808)
+++ trunk/debian/changelog	2015-05-26 22:11:14 UTC (rev 809)
@@ -9,6 +9,8 @@
       address from any UID of the form "addr-spec" or "[phrase] <addr-spec>"
       with a RFC 5322-valid addr-spec.
     + Prefix the signature by "-- \n" in the email template.
+    + Automatically mkdir ~/.caff if it doesn't exit.  Regression introduced
+      in r776.  (Closes: #786933)
 
  -- Guilhem Moulin <guilhem at guilhem.org>  Mon, 20 Apr 2015 10:28:20 +0200
 




More information about the Pgp-tools-commit mailing list