1
0
Fork 0
mirror of https://github.com/yavook/kiwi-scp.git synced 2024-11-24 05:33:00 +00:00

wrong grep option

This commit is contained in:
Jörn-Michael Miehe 2022-02-22 14:29:56 +01:00
parent 0d0f5eb195
commit ace4486eeb

2
dist/kiwi vendored
View file

@ -178,7 +178,7 @@ if [ ! -x "$(kiwi_executable)" ]; then
# read version tag # read version tag
KIWI_VERSION="$( \ KIWI_VERSION="$( \
curl --proto '=https' --tlsv1.2 -sSfL "${KIWI_REPO_RAW}/${KIWI_VERSION}/${PACKAGE_URI}" \ curl --proto '=https' --tlsv1.2 -sSfL "${KIWI_REPO_RAW}/${KIWI_VERSION}/${PACKAGE_URI}" \
| grep -r 'version\s*=' \ | grep -e 'version\s*=' \
| sed -r "s/version\s*=\s*\"([^\"]*)\"$/\1/" \ | sed -r "s/version\s*=\s*\"([^\"]*)\"$/\1/" \
)" )"