* [PATCH] dracut-lib.sh: splitsep fix
@ 2010-11-15 16:34 Amadeusz Żołnowski
[not found] ` <1289838876-18432-1-git-send-email-aidecoe-2qtfh70TtYba5EbDDlwbIw@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Amadeusz Żołnowski @ 2010-11-15 16:34 UTC (permalink / raw)
To: initramfs-u79uwXL29TY76Z2rM5mHXA; +Cc: Amadeusz Żołnowski
---
modules.d/99base/dracut-lib.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh
index f0c030b..37659fe 100755
--- a/modules.d/99base/dracut-lib.sh
+++ b/modules.d/99base/dracut-lib.sh
@@ -183,10 +183,10 @@ splitsep() {
local tmp
while [ -n "$str" -a -n "$*" ]; do
- tmp="${str%%:*}"
+ tmp="${str%%$sep*}"
eval "$1=${tmp}"
str="${str#$tmp}"
- str="${str#:}"
+ str="${str#$sep}"
shift
done
--
1.7.3.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-11-16 9:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-15 16:34 [PATCH] dracut-lib.sh: splitsep fix Amadeusz Żołnowski
[not found] ` <1289838876-18432-1-git-send-email-aidecoe-2qtfh70TtYba5EbDDlwbIw@public.gmane.org>
2010-11-16 9:30 ` Harald Hoyer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox