summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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