diff options
Diffstat (limited to 'sboul')
-rwxr-xr-x | sboul | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -93,8 +93,8 @@ getopts('c:e:C:k:', \%opts); die_usage("Unknown junk on command line: '$junk'") if $junk; die_usage("No category (missing required -c arg)") unless $opts{c}; $category = get_category($opts{c}); -chomp($submail = $opts{e} || `head -n1 ~/.sbo_email`); -die_usage("No email address (use -e or else create ~/.sbo_email)") unless $submail; +chomp($submail = $opts{e} || $ENV{SBO_EMAIL} +die_usage("No email address (use -e or else create ~/.sbostuff.cfg)") unless $submail; $comments = $opts{C} || ""; $tags = $opts{k} || ""; |