summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillem Mulder <willemmaster@hotmail.com>2019-05-10 12:28:24 +0200
committerEthan Sommer <e5ten.arch@gmail.com>2019-12-30 11:45:14 -0500
commit0ef1c97f89fa6ecb9bf4348c48d0e5cb27c6613a (patch)
tree53ed0acc79db4b9d567bc2694e29344b99d46db6
parent64c7880492e1dff987bf8b3b41007ae57c99dc9b (diff)
Clean $srcdir before running prepare()
This resolves an issue where, when running prepare twice, files created by patches make patching -- and with that, building -- fail.
-rwxr-xr-xpacaur2
1 files changed, 1 insertions, 1 deletions
diff --git a/pacaur b/pacaur
index 7752e1a..d055d79 100755
--- a/pacaur
+++ b/pacaur
@@ -1147,7 +1147,7 @@ MakePkgs() {
MakePkg -f --verifysource >/dev/null || errmakepkgs+=("${pkgsdeps[i]}")
# extraction, prepare and pkgver update
info $"Preparing %s..." "${colorW}${pkgsdeps[i]}${reset}"
- MakePkg -od --skipinteg || errmakepkgs+=("${pkgsdeps[i]}")
+ MakePkg -Cod --skipinteg || errmakepkgs+=("${pkgsdeps[i]}")
fi
done
if [[ "${errmakepkgs[*]}" ]]; then