From 6ed825e4399ffd8768b803c3e8372c37f5fb55d1 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sat, 22 Oct 2011 11:19:14 -0400 Subject: init_functions: avoid setting var without LHS Signed-off-by: Dave Reisner --- init_functions | 1 + 1 file changed, 1 insertion(+) diff --git a/init_functions b/init_functions index a2b9d2a..e026929 100644 --- a/init_functions +++ b/init_functions @@ -42,6 +42,7 @@ parse_cmdline() { single) ;; rw|ro) rwopt="$w" ;; # only export stuff that does work with ash :) + =*) ;; *=*) rhs=${w#*=} lhs=${w%%=*} lhs=${lhs//[-.]/_} -- cgit v1.2.3-24-g4f1b