Skip to content

Commit

Permalink
GUACAMOLE-1540: Merge correct automated retrieval of Docker build dep…
Browse files Browse the repository at this point in the history
…endencies.
  • Loading branch information
necouchman authored Aug 19, 2022
2 parents b5addfe + 2bc9d5f commit b2eb13a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/guacd-docker/bin/list-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ while [ -n "$1" ]; do

# List the package providing that library, if any
apk info -W "$LIBRARY" 2> /dev/null \
| grep 'is owned by' | grep -o '[^ ]*$'
| grep 'is owned by' | grep -o '[^ ]*$' || true

done

Expand All @@ -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 b2eb13a

Please sign in to comment.