summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2007-01-01 22:27:01 +0000
committerSven Wegener <swegener@gentoo.org>2007-01-01 22:27:01 +0000
commita71865ad64c0e272c3b3df2d75d9854716d0121d (patch)
tree176ed5f80d92a83bdfe87e84bb0790ca986fef19 /eclass/mysql_fx.eclass
parentVersion bump (diff)
downloadhistorical-a71865ad64c0e272c3b3df2d75d9854716d0121d.tar.gz
historical-a71865ad64c0e272c3b3df2d75d9854716d0121d.tar.bz2
historical-a71865ad64c0e272c3b3df2d75d9854716d0121d.zip
Apply whitespace checks from repoman to eclasses.
Diffstat (limited to 'eclass/mysql_fx.eclass')
-rw-r--r--eclass/mysql_fx.eclass22
1 files changed, 11 insertions, 11 deletions
diff --git a/eclass/mysql_fx.eclass b/eclass/mysql_fx.eclass
index d90a80ef46fa..0657c6936bcf 100644
--- a/eclass/mysql_fx.eclass
+++ b/eclass/mysql_fx.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mysql_fx.eclass,v 1.14 2006/12/29 20:34:02 vivo Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mysql_fx.eclass,v 1.15 2007/01/01 22:27:01 swegener Exp $
# Author: Francesco Riosa <vivo@gentoo.org>
# Maintainer: Francesco Riosa <vivo@gentoo.org>
@@ -81,17 +81,17 @@ mysql_version_is_at_least() {
# THERE IS A COPY OF THIS ONE IN ESELECT-MYSQL, keep the two synced
# crappy sorting file list per version
mysql_make_file_list() {
- local base="${1}-"
- local n=( )
- echo $( for i in $( ls -d ${1}-[[:digit:]]_[[:digit:]]{,[[:digit:]]}_[[:digit:]]{,[[:digit:]]} 2>/dev/null )
- do
- n=${i#${base}}
- n=( ${n//_/ } )
- # prepend the file name with its numeric version number to make
- # it sortable
- echo "$(( 100000 + ${n[0]} * 10000 + ${n[1]} * 100 + ${n[2]} ))$i"
+ local base="${1}-"
+ local n=( )
+ echo $( for i in $( ls -d ${1}-[[:digit:]]_[[:digit:]]{,[[:digit:]]}_[[:digit:]]{,[[:digit:]]} 2>/dev/null )
+ do
+ n=${i#${base}}
+ n=( ${n//_/ } )
+ # prepend the file name with its numeric version number to make
+ # it sortable
+ echo "$(( 100000 + ${n[0]} * 10000 + ${n[1]} * 100 + ${n[2]} ))$i"
# sort and cut the numeric version we added in the previous line
- done | sort | cut -c 7- )
+ done | sort | cut -c 7- )
}
# THERE IS A COPY OF THIS ONE IN ESELECT-MYSQL, keep the two synced