diff options
author | B. Watson <yalhcru@gmail.com> | 2020-06-16 23:14:35 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2020-06-16 23:14:35 -0400 |
commit | 5cc52f5f3bfb04aa02bcb99554fc739b50110951 (patch) | |
tree | e752c608429f13fc8c7163586ca70b2533eda3b5 | |
parent | c3238e690a1f3254d282623e047f0124206de9b9 (diff) | |
download | sbostuff-5cc52f5f3bfb04aa02bcb99554fc739b50110951.tar.gz |
fix my stupidity in sboul
-rw-r--r-- | sbostuff.sh | 1 | ||||
-rwxr-xr-x | sboul | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sbostuff.sh b/sbostuff.sh index bd40a24..84b77d9 100644 --- a/sbostuff.sh +++ b/sbostuff.sh @@ -11,6 +11,7 @@ if [ -e ~/.sbostuff.cfg ]; then source ~/.sbostuff.cfg + export SBO_GITROOT SBO_NAME SBO_EMAIL SBO_GITBRANCH else echo "sbostuff: No ~/.sbostuff.cfg, please create one." fi @@ -93,7 +93,7 @@ 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} || $ENV{SBO_EMAIL} +$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} || ""; |