From ba06ecd17cc85c5d7828f94116c1ce349e270307 Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Sun, 14 Jun 2015 17:34:32 -0400 Subject: [PATCH] tools-musl: trim whitespace. --- tools-musl/run-armv7a.sh | 2 +- tools-musl/run-mips32r2.sh | 2 +- tools-musl/run-mipsel3.sh | 2 +- tools-musl/run-ppc.sh | 2 +- tools-musl/run.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) 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