aboutsummaryrefslogtreecommitdiff
path: root/sboul
diff options
context:
space:
mode:
Diffstat (limited to 'sboul')
-rwxr-xr-xsboul4
1 files changed, 2 insertions, 2 deletions
diff --git a/sboul b/sboul
index eb3bff2..1f9b50d 100755
--- a/sboul
+++ b/sboul
@@ -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} || "";