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:
parent
da8cd388c4
commit
5273e38fb2
1 changed files with 4 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue