[pacman-dev] [PATCH] makepkg: only update pkgver when all sources are available

Allan McRae allan at archlinux.org
Sun Jul 15 10:25:18 EDT 2012


Signed-off-by: Allan McRae <allan at archlinux.org>
---
 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 46496fa..2bda5f1 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -544,7 +544,7 @@ download_sources() {
 		esac
 	done
 
-	if declare -f pkgver >/dev/null; then
+	if declare -f pkgver >/dev/null && (( GET_VCS )); then
 		update_pkgver
 	fi
 
-- 
1.7.11.2



More information about the pacman-dev mailing list