[arch-projects] [mkinitcpio][PATCH 4/4] init_functions: avoid setting var without LHS

Dave Reisner d at falconindy.com
Sat Oct 22 11:46:42 EDT 2011


Signed-off-by: Dave Reisner <dreisner at archlinux.org>
---
 init_functions |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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//[-.]/_}
-- 
1.7.7



More information about the arch-projects mailing list