We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce21d44 commit 6116270Copy full SHA for 6116270
openid-connect-provider-debugger/bump-apk-versions.sh
@@ -15,11 +15,11 @@ u=$(\apk -u list | \tr '\n' '|')
15
p="${l%=*}"
16
v1="${l#*=}"
17
v="$(\echo "|${u}" | \grep -o -e "\|${p}-[^\|]*upgradable from: ${p}-${v1}" || true)"
18
- if [ -n "${v}" ]; then
19
- continue
+ if [ -z "${v}" ]; then
+ continue
20
fi
21
n=$(($(\echo -n "${p}" | wc -c) + 2))
22
- v2="$(\echo "${v}" | \cut -d ' ' -f 0 | \cut -c ${n}-)"
+ v2="$(\echo "${v}" | \cut -d ' ' -f 1 | \cut -c ${n}-)"
23
if [ -n "${v2}" ] && [ "${v2}" != "${v1}" ]; then
24
\echo "${p} ${v1} -> ${v2}"
25
\perl -i -p -e "s|\Q${l}\E|${p}=${v2}|g" Dockerfile
0 commit comments