mirror of
https://github.com/standardebooks/web.git
synced 2025-07-21 14:55:13 -04:00
Identifiers no longer prefixed with url:
This commit is contained in:
parent
9c15cd2c1f
commit
718648e514
8 changed files with 56 additions and 56 deletions
|
@ -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}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue