makepkg: move update_pkgver out of extract_sources

The extract_sources function should be just extracting sources.

Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Allan McRae 2013-11-01 21:24:46 +10:00
parent da8cd388c4
commit 5273e38fb2

View file

@ -1359,11 +1359,6 @@ extract_sources() {
;; ;;
esac esac
done done
if (( PKGVERFUNC )); then
update_pkgver
check_build_status
fi
} }
error_function() { error_function() {
@ -3003,6 +2998,10 @@ elif (( !REPKG )); then
fi fi
extract_sources extract_sources
if (( PKGVERFUNC )); then
update_pkgver
check_build_status
fi
if (( PREPAREFUNC )); then if (( PREPAREFUNC )); then
run_prepare run_prepare
fi fi