summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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