diff options
author | Patrick 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) |
commit | 83167fcab9dc5de4e6c1b885b836654c673a7ef4 (patch) | |
tree | 14a9b80fd7401f1c833e6649f637e70ed16182b7 | |
parent | 3eb82fb30a07f996f2d92549c008d2e9c1ec983e (diff) |
hash_name(): Hash src:* packages
-rw-r--r-- | src/dir.sh | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |