commit fc5c3a81207d4bcddf1769d17665f3ae3279b7bc parent d59969d30127fdeeeb13e642d33c7cc26e8dbaef Author: Brian Mayer <bleemayer@gmail.com> Date: Tue, 5 Jul 2022 10:44:08 -0300 Fixed oldpath double slash Diffstat:
M | astro | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/astro b/astro @@ -67,7 +67,7 @@ parseurl() { then case "$1" in "/"*) url="$oldhost$1" ;; - *) url="$oldhost${oldpath%/*}/$1" ;; + *) oldpath="/${oldpath#/*}"; url="$oldhost${oldpath%/*}/$1" ;; esac fi fi