Skip to content

Commit

Permalink
GUACAMOLE-1540: Correct regex stripping of package version (major num…
Browse files Browse the repository at this point in the history
…ber may have multiple digits).
  • Loading branch information
mike-jumper committed Aug 19, 2022
1 parent 5918cc9 commit 2bc9d5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/guacd-docker/bin/list-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@ while [ -n "$1" ]; do
# Strip the "-VERSION" suffix from each package name, listing each resulting
# package uniquely ("apk add" cannot handle package names that include the
# version number)
done | sed 's/\(.*\)-[0-9]\..*$/\1/' | sort -u
done | sed 's/\(.*\)-[0-9]\+\..*$/\1/' | sort -u

0 comments on commit 2bc9d5f

Please sign in to comment.