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
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
if (( PKGVERFUNC )); then
|
|
||||||
update_pkgver
|
|
||||||
check_build_status
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
error_function() {
|
error_function() {
|
||||||
|
@ -3003,6 +2998,10 @@ elif (( !REPKG )); then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
extract_sources
|
extract_sources
|
||||||
|
if (( PKGVERFUNC )); then
|
||||||
|
update_pkgver
|
||||||
|
check_build_status
|
||||||
|
fi
|
||||||
if (( PREPAREFUNC )); then
|
if (( PREPAREFUNC )); then
|
||||||
run_prepare
|
run_prepare
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue