mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 20:21:32 +02:00
[backfire] merge r26642
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@26643 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
28f3fa34a9
commit
ab7b79a3e7
@ -5,7 +5,7 @@
|
||||
echo $CONTROL > $tmp_dir/tarX
|
||||
( cd $pkg_dir && $TAR $ogargs -X $tmp_dir/tarX -czf $tmp_dir/data.tar.gz . )
|
||||
+
|
||||
+installed_size=`du -b $tmp_dir/data.tar.gz | cut -f1`
|
||||
+installed_size=`stat -c "%s" $tmp_dir/data.tar.gz`
|
||||
+sed -i -e "s/^Installed-Size: .*/Installed-Size: $installed_size/" \
|
||||
+ $pkg_dir/$CONTROL/control
|
||||
+
|
||||
|
Loading…
Reference in New Issue
Block a user