mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 13:48:06 +00:00
0aab49d234
If chksum_offset is converted by $(($...)) at the beginning, the
check [ -n "$chksum_offset" ] will always return true, as the
conversion yields "0" for an empty argument, and [ -n "0" ] is
true.
With this patch, the variable is not converted before the check,
but only when it's used in dd.
No conversion is done for use in hexdump, as this can deal with
hex value offsets.
Fixes:
|
||
---|---|---|
.. | ||
ase | ||
base-files | ||
falcon | ||
files | ||
image | ||
patches-4.19 | ||
xrx200 | ||
xway | ||
xway_legacy | ||
config-4.19 | ||
Makefile | ||
modules.mk |