cookutils rev 1001
cook, modules/mk_pkg_receipt: fix regressions caused two previous commits
DEPENDS, PROVIDE, SUGGESTED, TAZPANEL_DAEMON, TAGS was not saved into small receipt
DEPENDS, PROVIDE, SUGGESTED, TAZPANEL_DAEMON, TAGS was not saved into small receipt
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 04 18:02:07 2017 +0200 (2017-11-04) |
parents | d807a30eadfe |
children | 8190be7ad294 |
files | cook modules/mk_pkg_receipt |
line diff
1.1 --- a/cook Sat Nov 04 11:29:22 2017 +0200 1.2 +++ b/cook Sat Nov 04 18:02:07 2017 +0200 1.3 @@ -901,7 +901,8 @@ 1.4 1.5 cd $taz 1.6 action 'Copying "%s"...' 'receipt' 1.7 - @@PREFIX@@/libexec/cookutils/mk_pkg_receipt ../receipt "$PACKAGE" > $pack/receipt 1.8 + export PACKAGE DEPENDS PROVIDE SUGGESTED TAZPANEL_DAEMON TAGS 1.9 + @@PREFIX@@/libexec/cookutils/mk_pkg_receipt "$(realpath ../receipt)" > $pack/receipt 1.10 chown 0.0 $pack/receipt; status 1.11 1.12 unset desc
2.1 --- a/modules/mk_pkg_receipt Sat Nov 04 11:29:22 2017 +0200 2.2 +++ b/modules/mk_pkg_receipt Sat Nov 04 18:02:07 2017 +0200 2.3 @@ -11,7 +11,6 @@ 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")