* [sup-talk] Tilde expansion in signature path
@ 2011-01-03 12:09 Matthias Vallentin
2011-01-03 20:15 ` Matthias Vallentin
0 siblings, 1 reply; 2+ messages in thread
From: Matthias Vallentin @ 2011-01-03 12:09 UTC (permalink / raw)
To: Sup Talk
Is there a specific reason why a tilde in the :signature: path is not
expanded? If not, this patch will enable it:
diff --git a/lib/sup/account.rb b/lib/sup/account.rb
index 1718d94..6e078cf 100644
--- a/lib/sup/account.rb
+++ b/lib/sup/account.rb
@@ -8,7 +8,7 @@ class Account < Person
raise ArgumentError, "no email for account" unless h[:email]
super h[:name], h[:email]
@sendmail = h[:sendmail]
- @signature = h[:signature]
+ @signature = File.expand_path h[:signature]
@gpgkey = h[:gpgkey]
end
Matthias
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-01-03 20:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-03 12:09 [sup-talk] Tilde expansion in signature path Matthias Vallentin
2011-01-03 20:15 ` Matthias Vallentin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox