cookutils rev 1000
Pass $PACKAGE to mk_pkg_receipt().
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 04 11:29:22 2017 +0200 (2017-11-04) |
parents | 4504ab343621 |
children | 41cc599aa328 |
files | cook modules/mk_pkg_receipt |
line diff
1.1 --- a/cook Sat Nov 04 05:07:30 2017 +0200 1.2 +++ b/cook Sat Nov 04 11:29:22 2017 +0200 1.3 @@ -901,7 +901,7 @@ 1.4 1.5 cd $taz 1.6 action 'Copying "%s"...' 'receipt' 1.7 - @@PREFIX@@/libexec/cookutils/mk_pkg_receipt ../receipt > $pack/receipt 1.8 + @@PREFIX@@/libexec/cookutils/mk_pkg_receipt ../receipt "$PACKAGE" > $pack/receipt 1.9 chown 0.0 $pack/receipt; status 1.10 1.11 unset desc
2.1 --- a/modules/mk_pkg_receipt Sat Nov 04 05:07:30 2017 +0200 2.2 +++ b/modules/mk_pkg_receipt Sat Nov 04 11:29:22 2017 +0200 2.3 @@ -11,6 +11,7 @@ 2.4 . /usr/lib/slitaz/libcook.sh 2.5 2.6 orig_receipt="$1" 2.7 +PACKAGE="$2" 2.8 2.9 # Receipt's signature is important, although some receipts may miss it 2.10 signature=$(head -n1 "$orig_receipt")