projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e7f495
)
99base/dracut-lib.sh: fix previous getargs patch
author
Harald Hoyer
<harald@redhat.com>
Wed, 20 Jul 2011 19:38:07 +0000
(21:38 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Wed, 20 Jul 2011 19:38:07 +0000
(21:38 +0200)
patch
9e7f4955895c1064e3bdd03f5f781efc9b98d5d6
ignored
"getargs key=value"
modules.d/99base/dracut-lib.sh
patch
|
blob
|
history
diff --git
a/modules.d/99base/dracut-lib.sh
b/modules.d/99base/dracut-lib.sh
index
c2202f1
..
6807b53
100755
(executable)
--- a/
modules.d/99base/dracut-lib.sh
+++ b/
modules.d/99base/dracut-lib.sh
@@
-52,7
+52,7
@@
_dogetarg() {
_getcmdline
for _o in $CMDLINE; do
- if [ "${_o%%=*}" = "${1%
=
}" ]; then
+ if [ "${_o%%=*}" = "${1%
%=*
}" ]; then
if [ -n "${1#*=}" -a "${1#*=*}" != "${1}" ]; then
# if $1 has a "=<value>", we want the exact match
if [ "$_o" = "$1" ]; then