diff options
author | Dan McGee <dan@archlinux.org> | 2008-10-31 19:55:50 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-10-31 19:55:50 -0500 |
commit | 9394f229a0328228e810b7d4588b24643b42df6a (patch) | |
tree | 0fae3c88fa2719db2bb6ad54a21b625f7a51d893 /scripts | |
parent | 43f9eb1aa95d78a1560e30536a05525f2b18de0d (diff) | |
parent | 2890114600baefb6cb1dde513ca3107258b64c92 (diff) | |
download | pacman-9394f229a0328228e810b7d4588b24643b42df6a.tar.xz |
Merge branch 'maint'
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/makepkg.sh.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index f3edd79e..6dc7db41 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -307,12 +307,12 @@ download_file() { # replace %o by the temporary dlfile if it exists if echo "$dlcmd" | grep -q "%o" ; then - dlcmd=${dlcmd//%o/$file.part} + dlcmd=${dlcmd//\%o/$file.part} dlfile="$file.part" fi # add the url, either in place of %u or at the end if echo "$dlcmd" | grep -q "%u" ; then - dlcmd=${dlcmd//%u/$url} + dlcmd=${dlcmd//\%u/$url} else dlcmd="$dlcmd $url" fi |