Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/makepkg.sh.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 7e5aa959..aed6b8be 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -380,7 +380,7 @@ download_file() {
download_git() {
local netfile=$1
- local fragment=${netfile##*#}
+ local fragment=${netfile#*#}
if [[ $fragment = "$netfile" ]]; then
unset fragment
fi
@@ -460,7 +460,7 @@ download_git() {
download_hg() {
local netfile=$1
- local fragment=${netfile##*#}
+ local fragment=${netfile#*#}
if [[ $fragment = "$netfile" ]]; then
unset fragment
fi
@@ -520,7 +520,7 @@ download_hg() {
download_svn() {
local netfile=$1
- local fragment=${netfile##*#}
+ local fragment=${netfile#*#}
if [[ $fragment = "$netfile" ]]; then
unset fragment
fi