build: better not use a local var, it breaks various shells
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 26 Jan 2011 19:12:51 +0000 (19:12 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 26 Jan 2011 19:12:51 +0000 (19:12 +0000)
build/mkversion.sh

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