1
0
Fork 0

Corrected root url set when in raw mode

tpl
Mike Gerwitz 2013-05-30 21:15:43 -04:00
parent 21aec4fb13
commit 5c923940e4
1 changed files with 2 additions and 1 deletions

View File

@ -126,7 +126,8 @@ done
shift $((OPTIND-1)) shift $((OPTIND-1))
test $do_raw || url_root="${1?Missing root URL (for RSS)}" url_root="${1}"
test "$do_raw" -o "$url_root" || { echo 'Missing root URL' >&2; exit 64; }
# default title to repository name (as taken from the directory) # default title to repository name (as taken from the directory)
title="${title:-$( cwarn title $( basename "$path_out" ) )}" title="${title:-$( cwarn title $( basename "$path_out" ) )}"