build: better not use a local var, it breaks various shells
This commit is contained in:
parent
8055a5e183
commit
01ad52f27a
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue