mirror of
https://github.com/moparisthebest/pacman
synced 2024-10-31 15:45:03 -04:00
makepkg: check for license when creating srcpackage
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
This commit is contained in:
parent
225ee71cae
commit
41db62b77a
@ -1343,6 +1343,8 @@ create_srcpackage() {
|
||||
local srclinks="$(mktemp -d "$startdir"/srclinks.XXXXXXXXX)"
|
||||
mkdir "${srclinks}"/${pkgbase}
|
||||
|
||||
check_license
|
||||
|
||||
msg2 "$(gettext "Adding %s...")" "$BUILDSCRIPT"
|
||||
ln -s "${BUILDFILE}" "${srclinks}/${pkgbase}/${BUILDSCRIPT}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user