aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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} || "";