From 41db62b77a8a45d086da1be0606be69861f322cc Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sat, 7 Jan 2012 13:25:37 -0500 Subject: [PATCH] makepkg: check for license when creating srcpackage Signed-off-by: Dave Reisner --- scripts/makepkg.sh.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 80e47624..3590908b 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -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}"