commit:     ba06ecd17cc85c5d7828f94116c1ce349e270307
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 14 21:34:32 2015 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sun Jun 14 21:34:32 2015 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=ba06ecd1

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 6892f2f..bdb4af5 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 0818361..14f6c1a 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 51c6753..f785b29 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 bb51672..9580bac 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 17d883b..cbd9b87 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

Reply via email to