Identifiers no longer prefixed with url:

This commit is contained in:
Brendan Fattig 2025-05-20 14:09:02 -05:00 committed by Alex Cabal
parent 9c15cd2c1f
commit 718648e514
8 changed files with 56 additions and 56 deletions

View file

@ -245,9 +245,9 @@ printf "%s\n" "${repoUrls}" | while IFS= read -r repoUrl; do
# get the last segment of the dc:identifier from the metadata
properName="$(git -C "${repoName}" show HEAD:src/epub/content.opf |
grep -oE "<dc:identifier id=\"uid\">url:https://standardebooks.org/ebooks/[^<]+</dc:identifier>" |
grep -oE "<dc:identifier id=\"uid\">https://standardebooks.org/ebooks/[^<]+</dc:identifier>" |
sed -E "s/<[^>]+?>//g" |
sed -E "s|url:https://standardebooks.org/ebooks/||g" |
sed -E "s|https://standardebooks.org/ebooks/||g" |
sed -E "s|/|_|g").git"
if [ "${bare}" = "" ]; then
properName="${properName%.git}"