diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index f9e0f95..4d9b413 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -352,7 +352,7 @@ download_file() { # replace %o by the temporary dlfile if it exists if [[ $dlcmd = *%o* ]]; then - dlcmd=${dlcmd//\%o/\"$filename.part\"} + dlcmd=${dlcmd//\%o/\"$SRCDEST/$filename.part\"} dlfile="$filename.part" fi # add the URL, either in place of %u or at the end