summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2013-11-01 21:24:46 +1000
committerAllan McRae <allan@archlinux.org>2013-11-15 11:02:27 +1000
commit5273e38fb254d6bfb9bce9078d346f3c08a294b1 (patch)
treee212f9c94ed14d23e40efc6c4e0a1035ebbffe24
parentda8cd388c4fd95d1748285e4d6bd549c776ef5e1 (diff)
downloadpacman-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>
-rw-r--r--scripts/makepkg.sh.in9
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