summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-10-22 17:19:14 +0200
committerDave Reisner <dreisner@archlinux.org>2011-10-22 17:37:45 +0200
commit6ed825e4399ffd8768b803c3e8372c37f5fb55d1 (patch)
tree4c31545a348d7b3d1c04d50581d3a937a1dde8c6
parente1538a039e4d17e246b47626b6f1f139f01d311e (diff)
downloadmkinitcpio-47adefb4afa8522b994e993a141be9e740775f8f.tar.gz
mkinitcpio-47adefb4afa8522b994e993a141be9e740775f8f.tar.xz
init_functions: avoid setting var without LHS0.7.5
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rw-r--r--init_functions1
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//[-.]/_}