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 ce6eb836678d7c11f265811d03e4657f71e59871..1b1819eca1e98b83a9ad82753f4d45987ca45688 100755 (executable)
@@ -1,7 +1,5 @@
 #!/bin/sh
 
-local variant
-
 if [ "${4%%/*}" = "branches" ]; then
        variant="LuCI ${4##*[-/]} Branch"
 elif [ "${4%%/*}" = "tags" ]; then