summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-04-19 21:49:14 +0200
committerJim Meyering <meyering@redhat.com>2009-04-19 21:49:14 +0200
commit51a6c63496b47882dea9e23cbe4f83f6468ecb62 (patch)
tree68ffdd733e07dff36d5c871607c70b23b5de912d
parent2977df8e7d84928cd2c068cc0f7f002ec1299842 (diff)
downloadcoreutils-51a6c63496b47882dea9e23cbe4f83f6468ecb62.tar.xz
comment touch up: insert a space between "#" and text of comment
* bootstrap: It's easier to read that way.
-rwxr-xr-xbootstrap12
1 files changed, 6 insertions, 6 deletions
diff --git a/bootstrap b/bootstrap
index 700b69520..5e7fe9ac6 100755
--- a/bootstrap
+++ b/bootstrap
@@ -231,11 +231,11 @@ fi
# version formats or redundant trailing .0 in bootstrap.conf.
# If we did want full compatibility then we should probably
# use m4_version_compare from autoconf.
-sort_ver() { #sort -V is not generally available
+sort_ver() { # sort -V is not generally available
ver1="$1"
ver2="$2"
- #split on '.' and compare each component
+ # split on '.' and compare each component
i=1
while : ; do
p1=$(echo "$ver1" | cut -d. -f$i)
@@ -247,11 +247,11 @@ sort_ver() { #sort -V is not generally available
echo "$2 $1"
break
elif [ ! "$p1" = "$p2" ]; then
- if [ "$p1" -gt "$p2" ] 2>/dev/null; then #numeric comparison
+ if [ "$p1" -gt "$p2" ] 2>/dev/null; then # numeric comparison
echo "$2 $1"
- elif [ "$p2" -gt "$p1" ] 2>/dev/null; then #numeric comparison
+ elif [ "$p2" -gt "$p1" ] 2>/dev/null; then # numeric comparison
echo "$1 $2"
- else #numeric, then lexicographic comparison
+ else # numeric, then lexicographic comparison
lp=$(printf "$p1\n$p2\n" | LANG=C sort -n | tail -n1)
if [ "$lp" = "$p2" ]; then
echo "$1 $2"
@@ -308,7 +308,7 @@ print_versions() {
echo "----------------------"
printf "$buildreq"
echo "----------------------"
- #can't depend on column -t
+ # can't depend on column -t
}
if ! printf "$buildreq" | check_versions; then