#21931: Could not generate file sha256 hash for file://
------------------------+------------------------
Reporter: Xuefer | Owner: developers
Type: defect | Status: closed
Priority: normal | Milestone:
Component: toolchain | Version: Trunk
Resolution: fixed | Keywords:
------------------------+------------------------
Comment (by anonymous):
another suggestion:
{{{
- if (system("cat '$target/$filename.dl' | $hash_cmd
> '$target/$filename.hash'")) {
+ if (system("$hash_cmd < '$target/$filename.dl' >
'$target/$filename.hash'")) {
}}}
(replace the cat+pipe with a simple input redirection.)
--
Ticket URL: <https://dev.openwrt.org/ticket/21931#comment:2>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets