summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-03-14 23:20:14 +0000
committerMike Frysinger <vapier@gentoo.org>2005-03-14 23:20:14 +0000
commitbe504ad72e646a69bc8d092894e454e382e5e05e (patch)
tree0c1b69cab30fbbabefef17620191b12477b18f65 /sys-devel/crossdev
parentMoved to sys-power/powermgmt-base. (diff)
downloadgentoo-2-be504ad72e646a69bc8d092894e454e382e5e05e.tar.gz
gentoo-2-be504ad72e646a69bc8d092894e454e382e5e05e.tar.bz2
gentoo-2-be504ad72e646a69bc8d092894e454e382e5e05e.zip
visual touchup
(Portage version: 2.0.51.19)
Diffstat (limited to 'sys-devel/crossdev')
-rwxr-xr-xsys-devel/crossdev/files/crossdev12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys-devel/crossdev/files/crossdev b/sys-devel/crossdev/files/crossdev
index 37ef24a659c3..1c205e74c06b 100755
--- a/sys-devel/crossdev/files/crossdev
+++ b/sys-devel/crossdev/files/crossdev
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/files/crossdev,v 1.10 2005/03/12 19:33:50 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/files/crossdev,v 1.11 2005/03/14 23:20:14 vapier Exp $
source /sbin/functions.sh || exit 1
die() {
@@ -130,11 +130,11 @@ hr() {
&& c=50 \
|| c=${c##* }
fi
- local br=""
- for ((i=0; i<${c}; ++i)) ; do
- br=${br}-
+ local ext=${1:- -} br=""
+ while [[ ${#br} -lt ${c} ]] ; do
+ br=${br}${ext}
done
- echo ${br}
+ echo "${br:0:${c}}"
}
##################
@@ -191,7 +191,7 @@ fi
### do the emerge ###
setup_portage_vars
(
-hr
+hr -
einfo "Host Portage ARCH: ${HARCH}"
einfo "Target Portage ARCH: ${TARCH}"
einfo "Target System: ${CTARGET}"