mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 05:38:00 +00:00
f432353850
The arithmetic expansion fails when idx becomes a two digit number.
Fix this by relying on expr command.
root@OpenWrt:/# echo $(((028 + 0) % 1000))
/bin/ash: arithmetic syntax error
root@OpenWrt:/# echo $(($(expr 028 + 0) % 1000))
28
Fixes:
|
||
---|---|---|
.. | ||
base-files | ||
files-5.4/drivers/net/ethernet/broadcom | ||
files-5.10/drivers/net/ethernet/broadcom | ||
generic | ||
image | ||
patches-5.4 | ||
patches-5.10 | ||
config-5.4 | ||
config-5.10 | ||
Makefile |