From b1e75d7dd663a72d90195e4907ee8fa145461fc2 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Mon, 16 Jul 2012 00:24:34 +1000 Subject: makepkg: only update pkgver when all sources are available Signed-off-by: Allan McRae --- scripts/makepkg.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2