Skip to content

Commit 86fc428

Browse files
committed
Fix grep regex
1 parent 445cf84 commit 86fc428

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

json/bump-apk-versions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ cd "$(\dirname "$0")"
1111

1212
u=$(\apk -u list | \tr '\n' '|')
1313

14-
\sed -e :a -e '/\\$/N; s/\\\n//; ta' Dockerfile | \grep -o -e 'apk[^\&\;]*add[^\&\;]*' | \grep -o -e '[^ ]*\=[^ ]*' | while IFS= \read -r l; do
14+
\sed -e :a -e '/\\$/N; s/\\\n//; ta' Dockerfile | \grep -o -e 'apk[^\&\;]*add[^\&\;]*' | \grep -o -e '[^ ]*=[^ ]*' | while IFS= \read -r l; do
1515
p="${l%=*}"
1616
v1="${l#*=}"
1717
v="$(\echo "|${u}" | \grep -o -e "\|${p}-[^\|]*upgradable from: ${p}-${v1}" || true)"

0 commit comments

Comments
 (0)