mirror of
https://github.com/openwrt/luci.git
synced 2025-12-22 01:44: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
|
#!/bin/sh
|
||||||
|
|
||||||
local variant
|
|
||||||
|
|
||||||
if [ "${4%%/*}" = "branches" ]; then
|
if [ "${4%%/*}" = "branches" ]; then
|
||||||
variant="LuCI ${4##*[-/]} Branch"
|
variant="LuCI ${4##*[-/]} Branch"
|
||||||
elif [ "${4%%/*}" = "tags" ]; then
|
elif [ "${4%%/*}" = "tags" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user