dracut-functions.sh:print_vars() fix for values with spaces
commit7a94a4326f0641396125acb2b444b562224457a1
authorHarald Hoyer <harald@redhat.com>
Tue, 20 May 2014 09:27:42 +0000 (20 11:27 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 20 May 2014 09:31:16 +0000 (20 11:31 +0200)
treedc1b384a04e40301bc03549a9908de4c3d2e4d52
parent142710269279db70fceb3e76a077f3d6a89a84a5
dracut-functions.sh:print_vars() fix for values with spaces

for a variable with spaces, e.g.:
EXT_KEYMAPS='backspace keypad euro2'

The following would occur:
print_vars: eval printf -v _value %s '$EXT_KEYMAPS'
print_vars: printf -v _value %s backspace keypad euro2
print_vars: [[ -n backspacekeypadeuro2 ]]
print_vars: printf '%s=\"%s\"\n' EXT_KEYMAPS backspacekeypadeuro2

Thanks to Sebastian Köln for the fix!
dracut-functions.sh