diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-01-07 13:25:37 -0500 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-01-23 13:34:28 -0500 |
commit | 41db62b77a8a45d086da1be0606be69861f322cc (patch) | |
tree | 77a5bac55673d839e255ac21b88c0cd8185f06a2 /scripts/makepkg.sh.in | |
parent | 225ee71cae95197d4e473488f94f628683d2a5e7 (diff) |
makepkg: check for license when creating srcpackage
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'scripts/makepkg.sh.in')
-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}" |