fix "strsep: command not found" error with repo:hd:.. (#806966)
The function is actually called "splitsep", not "strsep".
Strong work, Will. Didn't you used to test things?
---
dracut/repo-genrules.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dracut/repo-genrules.sh b/dracut/repo-genrules.sh
index 97d2536..24ee926 100755
--- a/dracut/repo-genrules.sh
+++ b/dracut/repo-genrules.sh
@@ -5,7 +5,7 @@
case "$root" in
anaconda-disk:*)
# anaconda-disk:<device>[:<path>]
- strsep ":" "$root" f diskdev diskpath
+ splitsep ":" "$root" f diskdev diskpath
diskdev=$(disk_to_dev_path $diskdev)
when_diskdev_appears "$diskdev"
"/sbin/anaconda-diskroot $diskdev $diskpath"
--
1.7.7.6
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
|