aboutsummaryrefslogtreecommitdiff
path: root/sboul
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-06-10 19:42:04 -0400
committerB. Watson <yalhcru@gmail.com>2020-06-10 19:42:04 -0400
commitc3238e690a1f3254d282623e047f0124206de9b9 (patch)
treeaad4069d37a258d2d641fef67abd7a3317fde111 /sboul
parentfdab64c728d172419b3cc3f8a566a3fd134ab366 (diff)
downloadsbostuff-c3238e690a1f3254d282623e047f0124206de9b9.tar.gz
cleanup, wip for eventual release
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} || "";