diff options
author | Allan McRae <allan@archlinux.org> | 2013-11-01 12:24:46 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-11-15 02:02:27 +0100 |
commit | 5273e38fb254d6bfb9bce9078d346f3c08a294b1 (patch) | |
tree | e212f9c94ed14d23e40efc6c4e0a1035ebbffe24 /scripts | |
parent | da8cd388c4fd95d1748285e4d6bd549c776ef5e1 (diff) | |
download | pacman-5273e38fb254d6bfb9bce9078d346f3c08a294b1.tar.gz pacman-5273e38fb254d6bfb9bce9078d346f3c08a294b1.tar.xz |
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>
Diffstat (limited to 'scripts')
-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 |