build: better not use a local var, it breaks various shells
This commit is contained in:
parent
8055a5e183
commit
01ad52f27a
@ -1,7 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
local variant
|
||||
|
||||
if [ "${4%%/*}" = "branches" ]; then
|
||||
variant="LuCI ${4##*[-/]} Branch"
|
||||
elif [ "${4%%/*}" = "tags" ]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user