about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2020-06-08 00:41:52 -0500
committerCase Duckworth2020-06-08 00:41:52 -0500
commit4ecc7edab772a3ce85ec3f461e56929d880c7584 (patch)
tree7849a4e2a38a575edaf29ef836775be8425f3c21
parentChange formatting of quotes and fix list (diff)
downloadbollux-4ecc7edab772a3ce85ec3f461e56929d880c7584.tar.gz
bollux-4ecc7edab772a3ce85ec3f461e56929d880c7584.zip
Fix regression with BOLLUX_URL not being set
-rwxr-xr-xbollux2
1 files changed, 2 insertions, 0 deletions
diff --git a/bollux b/bollux index 4261d36..c1319b2 100755 --- a/bollux +++ b/bollux
@@ -389,6 +389,7 @@ gemini_response() { # gemini_response URL
389 case "$code" in 389 case "$code" in
390 1*) # input 390 1*) # input
391 REDIRECTS=0 391 REDIRECTS=0
392 BOLLUX_URL="$url"
392 case "$code" in 393 case "$code" in
393 10) run prompt "$meta" ;; 394 10) run prompt "$meta" ;;
394 11) run prompt "$meta" -s ;; # password input 395 11) run prompt "$meta" -s ;; # password input
@@ -397,6 +398,7 @@ gemini_response() { # gemini_response URL
397 ;; 398 ;;
398 2*) # OK 399 2*) # OK
399 REDIRECTS=0 400 REDIRECTS=0
401 BOLLUX_URL="$url"
400 # read ahead to find a title 402 # read ahead to find a title
401 local pretitle 403 local pretitle
402 while read -r; do 404 while read -r; do