mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 21:24:35 +04:00
build: better not use a local var, it breaks various shells
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
local variant
|
||||
|
||||
if [ "${4%%/*}" = "branches" ]; then
|
||||
variant="LuCI ${4##*[-/]} Branch"
|
||||
elif [ "${4%%/*}" = "tags" ]; then
|
||||
|
||||
Reference in New Issue
Block a user