diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-10-22 17:19:14 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2011-10-22 17:37:45 +0200 |
commit | 6ed825e4399ffd8768b803c3e8372c37f5fb55d1 (patch) | |
tree | 4c31545a348d7b3d1c04d50581d3a937a1dde8c6 | |
parent | e1538a039e4d17e246b47626b6f1f139f01d311e (diff) | |
download | mkinitcpio-0.7.5.tar.gz mkinitcpio-0.7.5.tar.xz |
init_functions: avoid setting var without LHS0.7.5
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rw-r--r-- | 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//[-.]/_} |