Corrected root url set when in raw mode
parent
21aec4fb13
commit
5c923940e4
|
@ -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" ) )}"
|
||||||
|
|
Loading…
Reference in New Issue