summaryrefslogtreecommitdiffstats
path: root/dracut/parse-anaconda-repo.sh
diff options
context:
space:
mode:
authorWill Woods <wwoods@redhat.com>2012-08-21 13:26:58 -0400
committerWill Woods <wwoods@redhat.com>2012-08-22 14:11:25 -0400
commit6bf03608b80890a0c0d376275b1868d1cf03ecf4 (patch)
tree4422b5b97f8ad5e7c524f063531602d8333aceb5 /dracut/parse-anaconda-repo.sh
parente7e739179a76c6d83c9ef70f43f9951d3619d7f8 (diff)
downloadanaconda-6bf03608b80890a0c0d376275b1868d1cf03ecf4.tar.gz
anaconda-6bf03608b80890a0c0d376275b1868d1cf03ecf4.tar.xz
anaconda-6bf03608b80890a0c0d376275b1868d1cf03ecf4.zip
dracut: remove workarounds for broken splitsep()
the splitsep function was buggy before, but it was fixed in dracut 019 so we don't need these workarounds anymore. See upstream dracut commit f7cadaa843498c4b986f8a030fab39002ad108b6. Related: 844c0c156ed2f27920257d86690f3017727f398e Related: 700e985082b03abcbd3009de81885b8fbf72818b
Diffstat (limited to 'dracut/parse-anaconda-repo.sh')
-rwxr-xr-xdracut/parse-anaconda-repo.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/dracut/parse-anaconda-repo.sh b/dracut/parse-anaconda-repo.sh
index 59bf7b50b..96de45809 100755
--- a/dracut/parse-anaconda-repo.sh
+++ b/dracut/parse-anaconda-repo.sh
@@ -12,9 +12,7 @@ arg="repo"
[ -n "$stage2" ] && arg="stage2" && repo="$stage2"
if [ -n "$repo" ]; then
- #splitsep ":" "$repo" repotype rest # FIXME: splitsep is buggy
- repotype=${repo%%:*}
- rest=${repo#$repotype:}; [ "$rest" = "$repo" ] && rest=""
+ splitsep ":" "$repo" repotype rest
case "$repotype" in
http|https|ftp|nfs|nfs4|nfsiso)
set_neednet; root="anaconda-net:$repo" ;;