summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2020-12-09 08:53:45 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2020-12-09 08:54:26 (EST)
commita334a3a4dbbceb155cbb565249d04c0fb094f0a5 (patch)
tree1af8ccb3ea280415288caa5d3b21607be64ac439 /src
parentda9e4a8a322311b51f6835fe62a1a80d56ae621b (diff)
resolve_deps(): Solve deps of packages with ":"
Diffstat (limited to 'src')
-rw-r--r--src/deps.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/deps.sh b/src/deps.sh
index 72a0cda..6460ff0 100644
--- a/src/deps.sh
+++ b/src/deps.sh
@@ -34,10 +34,10 @@ resolve_deps()
new_deps=''
for pkg in ${new_pkgs}; do
case "${pkg}" in
- *[!a-z0-9+.-]*) continue;;
+ *[!a-z0-9+.:-]*) continue;;
esac
new_deps="${new_deps} $(printf '%s' "${deps}" | \
- sed -n "s/^${pkg}: *//p")"
+ sed -n "s/^${pkg}: *//p")"
done
new_deps="$(printf '%s\n' ${new_deps} | sort -u)"
new_pkgs=''