makepkg: allow skipping integrity checks when making source package
Extends the use of the --skipinteg option to creating a source package. Fixes FS#15984. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
0e7ba6bddd
commit
c1fc00508e
1 changed files with 9 additions and 3 deletions
|
@ -1077,9 +1077,15 @@ create_srcpackage() {
|
||||||
mkdir -p "$srcdir"
|
mkdir -p "$srcdir"
|
||||||
chmod a-s "$srcdir"
|
chmod a-s "$srcdir"
|
||||||
cd "$srcdir"
|
cd "$srcdir"
|
||||||
download_sources
|
if (( ! SKIPINTEG || SOURCEONLY == 2 )); then
|
||||||
# We can only check checksums if we have all files.
|
download_sources
|
||||||
check_checksums
|
fi
|
||||||
|
if (( ! SKIPINTEG )); then
|
||||||
|
# We can only check checksums if we have all files.
|
||||||
|
check_checksums
|
||||||
|
else
|
||||||
|
warning "$(gettext "Skipping integrity checks.")"
|
||||||
|
fi
|
||||||
cd "$startdir"
|
cd "$startdir"
|
||||||
|
|
||||||
msg "$(gettext "Creating source package...")"
|
msg "$(gettext "Creating source package...")"
|
||||||
|
|
Loading…
Add table
Reference in a new issue