diff --git a/tools-musl/run-armv7a.sh b/tools-musl/run-armv7a.sh index 6892f2fd..bdb4af52 100755 --- a/tools-musl/run-armv7a.sh +++ b/tools-musl/run-armv7a.sh @@ -39,7 +39,7 @@ prepare_confs() { stage${s}-${arch}-musl-${flavor}.conf portage_confdir=$(grep portage_confdir stage${s}-${arch}-musl-${flavor}.conf \ - | sed -e 's/^.*://') + | sed -e 's/^.*:[ \t]*//') [[ ! -e ${portage_confdir} ]] && sed -i -e '/^portage_confdir/d' \ stage${s}-${arch}-musl-${flavor}.conf done diff --git a/tools-musl/run-mips32r2.sh b/tools-musl/run-mips32r2.sh index 08183616..14f6c1a5 100755 --- a/tools-musl/run-mips32r2.sh +++ b/tools-musl/run-mips32r2.sh @@ -29,7 +29,7 @@ prepare_confs() { > stage${s}-${arch}-musl-${flavor}.conf portage_confdir=$(grep portage_confdir stage${s}-${arch}-musl-${flavor}.conf \ - | sed -e 's/^.*://') + | sed -e 's/^.*:[ \t]*//') [[ ! -e ${portage_confdir} ]] && sed -i -e '/^portage_confdir/d' \ stage${s}-${arch}-musl-${flavor}.conf done diff --git a/tools-musl/run-mipsel3.sh b/tools-musl/run-mipsel3.sh index 51c67538..f785b299 100755 --- a/tools-musl/run-mipsel3.sh +++ b/tools-musl/run-mipsel3.sh @@ -29,7 +29,7 @@ prepare_confs() { > stage${s}-${arch}-musl-${flavor}.conf portage_confdir=$(grep portage_confdir stage${s}-${arch}-musl-${flavor}.conf \ - | sed -e 's/^.*://') + | sed -e 's/^.*:[ \t]*//') [[ ! -e ${portage_confdir} ]] && sed -i -e '/^portage_confdir/d' \ stage${s}-${arch}-musl-${flavor}.conf done diff --git a/tools-musl/run-ppc.sh b/tools-musl/run-ppc.sh index bb516729..9580bac4 100755 --- a/tools-musl/run-ppc.sh +++ b/tools-musl/run-ppc.sh @@ -29,7 +29,7 @@ prepare_confs() { > stage${s}-${arch}-musl-${flavor}.conf portage_confdir=$(grep portage_confdir stage${s}-${arch}-musl-${flavor}.conf \ - | sed -e 's/^.*://') + | sed -e 's/^.*:[ \t]*//') [[ ! -e ${portage_confdir} ]] && sed -i -e '/^portage_confdir/d' \ stage${s}-${arch}-musl-${flavor}.conf done diff --git a/tools-musl/run.sh b/tools-musl/run.sh index 17d883bb..cbd9b875 100755 --- a/tools-musl/run.sh +++ b/tools-musl/run.sh @@ -31,7 +31,7 @@ prepare_confs() { > stage${s}-${arch}-musl-${flavor}.conf portage_confdir=$(grep portage_confdir stage${s}-${arch}-musl-${flavor}.conf \ - | sed -e 's/^.*://') + | sed -e 's/^.*:[ \t]*//') [[ ! -e ${portage_confdir} ]] && sed -i -e '/^portage_confdir/d' \ stage${s}-${arch}-musl-${flavor}.conf done