Changeset 785ee77


Ignore:
Timestamp:
Jul 3, 2011, 8:43:07 PM (13 years ago)
Author:
Jason Gross <jgross@mit.edu>
Branches:
master, release-1.10, release-1.8, release-1.9
Children:
901cee9, 530c51c, 5c2ef5b, 863f4c4
Parents:
fa981f3
git-author:
Jason Gross <jgross@mit.edu> (06/28/11 02:28:12)
git-committer:
Jason Gross <jgross@mit.edu> (07/03/11 20:43:07)
Message:
Allow zsigs to be '0'

Also, keep the feature that setting the zsig to '' will reset it to the
default.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/lib/BarnOwl.pm

    rb8a3e00 r785ee77  
    570570{
    571571  my $zsig = getvar('zsig');
    572   if (!$zsig) {
    573       if (my $zsigproc = getvar('zsigproc')) {
     572  if (!defined($zsig) || $zsig eq '') {
     573      my $zsigproc = getvar('zsigproc');
     574      if (defined($zsigproc) && $zsigproc ne '') {
    574575          $zsig = `$zsigproc`;
    575576      } elsif (!defined($zsig = get_zephyr_variable('zwrite-signature'))) {
Note: See TracChangeset for help on using the changeset viewer.