index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2014-09-23 14:04:48 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-11-17 13:02:12 +1000 |
commit | 0d249949345e69fc1728df236569d1153582244c (patch) | |
tree | 5b7cc903e378316de3b662a9ff65078a85662fbf /scripts | |
parent | 694901259031c19178cbfaa7087a2950d2dde477 (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 8 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 3b9702e3..6acd9f5e 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -447,7 +447,7 @@ download_bzr() { local url=$(get_url "$netfile") if [[ $url != bzr+ssh* ]]; then - url=${url##*bzr+} + url=${url#bzr+} fi url=${url%%#*} @@ -545,7 +545,7 @@ download_git() { local repo=$(get_filename "$netfile") local url=$(get_url "$netfile") - url=${url##*git+} + url=${url#git+} url=${url%%#*} if [[ ! -d "$dir" ]] || dir_is_empty "$dir" ; then @@ -643,7 +643,7 @@ download_hg() { local repo=$(get_filename "$netfile") local url=$(get_url "$netfile") - url=${url##*hg+} + url=${url#hg+} url=${url%%#*} if [[ ! -d "$dir" ]] || dir_is_empty "$dir" ; then @@ -724,7 +724,7 @@ download_svn() { local url=$(get_url "$netfile") if [[ $url != svn+ssh* ]]; then - url=${url##*svn+} + url=${url#svn+} fi url=${url%%#*} |