summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-13 23:00:24 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-13 23:00:24 (EDT)
commit83167fcab9dc5de4e6c1b885b836654c673a7ef4 (patch)
tree14a9b80fd7401f1c833e6649f637e70ed16182b7 /src
parent3eb82fb30a07f996f2d92549c008d2e9c1ec983e (diff)
hash_name(): Hash src:* packages
Diffstat (limited to 'src')
-rw-r--r--src/dir.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dir.sh b/src/dir.sh
index 90a41a7..e7489ef 100644
--- a/src/dir.sh
+++ b/src/dir.sh
@@ -30,6 +30,8 @@ hash_name()
hash="$(printf '%s\n' "${name}" | sed 's/^\(lib.\).*$/\1/')"
elif [ "x${name}" != "x${name#src-?}" ]; then
hash="$(printf '%s\n' "${name}" | sed 's/^\(src-.\).*$/\1/')"
+ elif [ "x${name}" != "x${name#src:?}" ]; then
+ hash="$(printf '%s\n' "${name}" | sed 's/^\(src:.\).*$/\1/')"
else
hash="$(printf '%s\n' "${name}" | sed 's/^\(.\).*$/\1/')"
fi