Skip to content

Instantly share code, notes, and snippets.

@ingydotnet
Created June 6, 2011 11:22
Show Gist options
  • Save ingydotnet/1010086 to your computer and use it in GitHub Desktop.
Save ingydotnet/1010086 to your computer and use it in GitHub Desktop.
dh-make-perl/lib/DhMakePerl/Command/Packaging.pm
$email ||= ( $ENV{DEBEMAIL} || $ENV{EMAIL} );
unless ($email) {
chomp( $mailh = `cat /etc/mailname` );
$email = $user . '@' . $mailh;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment