mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
scripts/image: cleanup ORIGIN_URL
This commit is contained in:
parent
58a486b6a4
commit
634531533e
@ -76,7 +76,7 @@ if [ "${LIBREELEC_VERSION}" = "devel" ]; then
|
||||
fi
|
||||
|
||||
# Get origin url, fix git:// and git@github.com: urls if necessary
|
||||
ORIGIN_URL="$(git remote -v | awk '$1 == "origin" { print $2 }' | head -1 | sed 's#\.git$##;s#^git:#https:#;s#^git@github\.com:#https://github.com/#')"
|
||||
ORIGIN_URL="$(git remote -v | awk '$1 == "origin" { print $2 }' | head -1 | sed -e 's#\.git$##' -e 's#^git:#https:#' -e 's#^git@github\.com:#https://github.com/#' -e 's#://.*@#://#')"
|
||||
|
||||
[ "${BUILDER_NAME,,}" = "official" ] && BUILDER_NAME=
|
||||
if [ "${OFFICIAL}" = "yes" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user