From 2977df8e7d84928cd2c068cc0f7f002ec1299842 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Sat, 18 Apr 2009 19:37:29 +0200 Subject: fix comment typos * bootstrap: Fix comment typos. * src/pr.c: Likewise. --- bootstrap | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bootstrap') diff --git a/bootstrap b/bootstrap index 3709ce6ce..700b69520 100755 --- a/bootstrap +++ b/bootstrap @@ -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 comparision + if [ "$p1" -gt "$p2" ] 2>/dev/null; then #numeric comparison echo "$2 $1" - elif [ "$p2" -gt "$p1" ] 2>/dev/null; then #numeric comparision + elif [ "$p2" -gt "$p1" ] 2>/dev/null; then #numeric comparison echo "$1 $2" - else #numeric, then lexographic 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" -- cgit v1.2.3-70-g09d2