aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-06-16 23:14:35 -0400
committerB. Watson <yalhcru@gmail.com>2020-06-16 23:14:35 -0400
commit5cc52f5f3bfb04aa02bcb99554fc739b50110951 (patch)
treee752c608429f13fc8c7163586ca70b2533eda3b5
parentc3238e690a1f3254d282623e047f0124206de9b9 (diff)
downloadsbostuff-5cc52f5f3bfb04aa02bcb99554fc739b50110951.tar.gz
fix my stupidity in sboul
-rw-r--r--sbostuff.sh1
-rwxr-xr-xsboul2
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
diff --git a/sboul b/sboul
index 1f9b50d..646dd63 100755
--- a/sboul
+++ b/sboul
@@ -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} || "";