change polarity of test for BROWSER

main
David Crook 3 years ago committed by Kaleb Elwert
parent 7f8b9b829a
commit ecaed1cfa7

@ -47,7 +47,7 @@ file="$3"
if [[ -n "$url" ]]; then if [[ -n "$url" ]]; then
url="$url/tree/$reference/$file" url="$url/tree/$reference/$file"
if [[ -z "$BROWSER" ]]; then if [[ -n "$BROWSER" ]]; then
"$BROWSER" "$url" "$BROWSER" "$url"
return 0 return 0
else else

Loading…
Cancel
Save