wrong grep option
This commit is contained in:
parent
0d0f5eb195
commit
ace4486eeb
1 changed files with 1 additions and 1 deletions
2
dist/kiwi
vendored
2
dist/kiwi
vendored
|
@ -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/" \
|
||||||
)"
|
)"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue