Signed-off-by: Allan McRae <[email protected]>
---
 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


Reply via email to