summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2012-07-16 00:24:34 +1000
committerAllan McRae <allan@archlinux.org>2012-08-04 00:16:38 +1000
commitb1e75d7dd663a72d90195e4907ee8fa145461fc2 (patch)
tree202f4b68a656b0b4033ea6e6c25b2f94541960c1 /scripts
parent6c8def6ae0f7b99c68da8a7a4bd943746d234754 (diff)
downloadpacman-b1e75d7dd663a72d90195e4907ee8fa145461fc2.tar.xz
makepkg: only update pkgver when all sources are available
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/makepkg.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index da7bde55..0d23f749 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -546,7 +546,7 @@ download_sources() {
esac
done
- if declare -f pkgver >/dev/null; then
+ if declare -f pkgver >/dev/null && (( GET_VCS )); then
update_pkgver
fi