diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-01-07 19:25:37 +0100 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-01-23 19:34:28 +0100 |
commit | 41db62b77a8a45d086da1be0606be69861f322cc (patch) | |
tree | 77a5bac55673d839e255ac21b88c0cd8185f06a2 | |
parent | 225ee71cae95197d4e473488f94f628683d2a5e7 (diff) | |
download | pacman-41db62b77a8a45d086da1be0606be69861f322cc.tar.gz pacman-41db62b77a8a45d086da1be0606be69861f322cc.tar.xz |
makepkg: check for license when creating srcpackage
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rw-r--r-- | scripts/makepkg.sh.in | 2 |
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}" |