Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #4546

Category None
Changed by Rosen Penev <rosenpohnoyoudont@gmail.com>
Changed at Wed 25 Nov 2020 16:22:39
Repository https://git.openwrt.org/openwrt/openwrt.git
Branch master
Revision b9246bbdc9a97041c5573845a7858ef3b1c54ff2

Comments

base-files: functions.sh: replace [^...] with [!...] in case
Strictly speaking, ash does not support it.

From https://wiki.ubuntu.com/DashAsBinSh#A.5B.5E.5D

Not to be confused by sed's and other program's regular expression
syntax. Uses of [^...] in case (parameter/word expansion in general) need
to be replaced with [!...].

Found with shellcheck: https://github.com/koalaman/shellcheck/wiki/SC2169

Signed-off-by: Rosen Penev <rosenp@gmail.com>
[minor commit title/message adjustments]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>

Changed files