aboutsummaryrefslogtreecommitdiff
path: root/sbo
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-03-15 22:19:36 -0400
committerB. Watson <urchlay@slackware.uk>2024-03-15 22:19:36 -0400
commit67c48f402795e54e0e051652c240816b899ec0ff (patch)
tree9ea07178535406e4de19d0b6c844964c3e5e834e /sbo
parent33e38a1385b14298fc926c2431288ec79caf1cb7 (diff)
downloadelvi-impersonators-master.tar.gz
sbo: . to search for basename of current dir.HEADmaster
Diffstat (limited to 'sbo')
-rwxr-xr-xsbo1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbo b/sbo
index 895fde6..9643fb7 100755
--- a/sbo
+++ b/sbo
@@ -93,6 +93,7 @@ w3_parse_option_hook() {
w3_config
w3_parse_args "$@"
case "$w3_args" in
+ .) w3_args="$(basename $(pwd))" ;;
*@*) stype=maint ;;
*://*) stype=url ;;
esac