index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Ivy Foster <escondida@iff.ink> | 2020-11-25 22:38:24 -0600 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2020-11-26 21:58:40 +1000 |
commit | 08f4ae709ca00ec9b4c56d92d3cdd7de4e6effc2 (patch) | |
tree | 9e923698858a61e97fa31cafbf92d1f066dbebd3 /scripts/libmakepkg/util | |
parent | 73e0d7dedc197f71c4fd6b7c18d2b2f2d63bf013 (diff) |
-rw-r--r-- | scripts/libmakepkg/util/source.sh.in | 5 |
diff --git a/scripts/libmakepkg/util/source.sh.in b/scripts/libmakepkg/util/source.sh.in index be7c15c2..029bf8ed 100644 --- a/scripts/libmakepkg/util/source.sh.in +++ b/scripts/libmakepkg/util/source.sh.in @@ -65,7 +65,7 @@ get_filename() { local proto=$(get_protocol "$netfile") case $proto in - bzr|git|hg|svn) + bzr|fossil|git|hg|svn) filename=${netfile%%#*} filename=${filename%%\?*} filename=${filename%/} @@ -73,6 +73,9 @@ get_filename() { if [[ $proto = bzr ]]; then filename=${filename#*lp:} fi + if [[ $proto = fossil ]]; then + filename=$filename.fossil + fi if [[ $proto = git ]]; then filename=${filename%%.git*} fi |