build: better not use a local var, it breaks various shells

This commit is contained in:
Jo-Philipp Wich 2011-01-26 19:12:51 +00:00
parent 8055a5e183
commit 01ad52f27a

View file

@ -1,7 +1,5 @@
#!/bin/sh
local variant
if [ "${4%%/*}" = "branches" ]; then
variant="LuCI ${4##*[-/]} Branch"
elif [ "${4%%/*}" = "tags" ]; then