diff options
-rw-r--r-- | scripts/makepkg.sh.in | 9 |
1 files changed, 4 insertions, 5 deletions
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 |