From 5273e38fb254d6bfb9bce9078d346f3c08a294b1 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Fri, 1 Nov 2013 21:24:46 +1000 Subject: makepkg: move update_pkgver out of extract_sources The extract_sources function should be just extracting sources. Signed-off-by: Allan McRae --- scripts/makepkg.sh.in | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'scripts') diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index af97c3b9..86b3d4de 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1359,11 +1359,6 @@ extract_sources() { ;; esac done - - if (( PKGVERFUNC )); then - update_pkgver - check_build_status - fi } error_function() { @@ -3003,6 +2998,10 @@ elif (( !REPKG )); then fi extract_sources + if (( PKGVERFUNC )); then + update_pkgver + check_build_status + fi if (( PREPAREFUNC )); then run_prepare fi -- cgit v1.2.3-70-g09d2