summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-01-07 13:25:37 -0500
committerDave Reisner <dreisner@archlinux.org>2012-01-23 13:34:28 -0500
commit41db62b77a8a45d086da1be0606be69861f322cc (patch)
tree77a5bac55673d839e255ac21b88c0cd8185f06a2 /scripts
parent225ee71cae95197d4e473488f94f628683d2a5e7 (diff)
downloadpacman-41db62b77a8a45d086da1be0606be69861f322cc.tar.xz
makepkg: check for license when creating srcpackage
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/makepkg.sh.in2
1 files changed, 2 insertions, 0 deletions
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}"