]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
bootstrap: fix rectangle select induced trailing spaces.
authorGary V. Vaughan <gary@gnu.org>
Thu, 25 Oct 2012 12:03:17 +0000 (07:03 -0500)
committerGary V. Vaughan <gary@gnu.org>
Thu, 25 Oct 2012 12:05:20 +0000 (07:05 -0500)
* gl/build-aux/funclib.sh (require_term_colors): Delete trailing
whitespace.
* bootstrap: Regenerate.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
bootstrap
gl/build-aux/funclib.sh

index 0cd5a2b757dbcea2f0fe51830b7b7c3b88d5921f..ab7aed68a229a4beeb165bd838dabe2bc8693878 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -321,32 +321,32 @@ func_require_term_colors ()
 {
     $debug_cmd
 
-    test -t 1 && {                                                       
-      # COLORTERM and USE_ANSI_COLORS environment variables take         
-      # precedence, because most terminfo databases neglect to describe  
-      # whether color sequences are supported.                           
-      test -n "${COLORTERM+set}" && : ${USE_ANSI_COLORS="1"}             
-                                                                       
-      if test 1 = "$USE_ANSI_COLORS"; then                             
-        # Standard ANSI escape sequences                                 
-        tc_reset='\e[0m'                                                 
-        tc_bold='\e[1m';   tc_standout='\e[7m'                           
-        tc_red='\e[31m';   tc_green='\e[32m'                             
-        tc_blue='\e[34m';  tc_cyan='\e[36m'                              
-      else                                                               
-        # Otherwise trust the terminfo database after all.               
-        test -n "`tput sgr0 2>/dev/null`" && {                           
-          tc_reset=`tput sgr0`                                           
-          test -n "`tput bold 2>/dev/null`" && tc_bold=`tput bold`       
-          tc_standout=$tc_bold                                           
-          test -n "`tput smso 2>/dev/null`" && tc_standout=`tput smso`   
-          test -n "`tput setaf 1 2>/dev/null`" && tc_red=`tput setaf 1`  
+    test -t 1 && {
+      # COLORTERM and USE_ANSI_COLORS environment variables take
+      # precedence, because most terminfo databases neglect to describe
+      # whether color sequences are supported.
+      test -n "${COLORTERM+set}" && : ${USE_ANSI_COLORS="1"}
+
+      if test 1 = "$USE_ANSI_COLORS"; then
+        # Standard ANSI escape sequences
+        tc_reset='\e[0m'
+        tc_bold='\e[1m';   tc_standout='\e[7m'
+        tc_red='\e[31m';   tc_green='\e[32m'
+        tc_blue='\e[34m';  tc_cyan='\e[36m'
+      else
+        # Otherwise trust the terminfo database after all.
+        test -n "`tput sgr0 2>/dev/null`" && {
+          tc_reset=`tput sgr0`
+          test -n "`tput bold 2>/dev/null`" && tc_bold=`tput bold`
+          tc_standout=$tc_bold
+          test -n "`tput smso 2>/dev/null`" && tc_standout=`tput smso`
+          test -n "`tput setaf 1 2>/dev/null`" && tc_red=`tput setaf 1`
           test -n "`tput setaf 2 2>/dev/null`" && tc_green=`tput setaf 2`
-          test -n "`tput setaf 4 2>/dev/null`" && tc_blue=`tput setaf 4` 
-          test -n "`tput setaf 5 2>/dev/null`" && tc_cyan=`tput setaf 5` 
-        }                                                                
-      fi                                                                 
-    }                                                                    
+          test -n "`tput setaf 4 2>/dev/null`" && tc_blue=`tput setaf 4`
+          test -n "`tput setaf 5 2>/dev/null`" && tc_cyan=`tput setaf 5`
+        }
+      fi
+    }
 
     require_term_colors=:
 }
index 1203d83e92a066df849f50660947985a7f3ef749..ce5771342256a4be1a4f967aea7faf763f6ddfad 100644 (file)
@@ -311,32 +311,32 @@ func_require_term_colors ()
 {
     $debug_cmd
 
-    test -t 1 && {                                                       
-      # COLORTERM and USE_ANSI_COLORS environment variables take         
-      # precedence, because most terminfo databases neglect to describe  
-      # whether color sequences are supported.                           
-      test -n "${COLORTERM+set}" && : ${USE_ANSI_COLORS="1"}             
-                                                                       
-      if test 1 = "$USE_ANSI_COLORS"; then                             
-        # Standard ANSI escape sequences                                 
-        tc_reset='\e[0m'                                                 
-        tc_bold='\e[1m';   tc_standout='\e[7m'                           
-        tc_red='\e[31m';   tc_green='\e[32m'                             
-        tc_blue='\e[34m';  tc_cyan='\e[36m'                              
-      else                                                               
-        # Otherwise trust the terminfo database after all.               
-        test -n "`tput sgr0 2>/dev/null`" && {                           
-          tc_reset=`tput sgr0`                                           
-          test -n "`tput bold 2>/dev/null`" && tc_bold=`tput bold`       
-          tc_standout=$tc_bold                                           
-          test -n "`tput smso 2>/dev/null`" && tc_standout=`tput smso`   
-          test -n "`tput setaf 1 2>/dev/null`" && tc_red=`tput setaf 1`  
+    test -t 1 && {
+      # COLORTERM and USE_ANSI_COLORS environment variables take
+      # precedence, because most terminfo databases neglect to describe
+      # whether color sequences are supported.
+      test -n "${COLORTERM+set}" && : ${USE_ANSI_COLORS="1"}
+
+      if test 1 = "$USE_ANSI_COLORS"; then
+        # Standard ANSI escape sequences
+        tc_reset='\e[0m'
+        tc_bold='\e[1m';   tc_standout='\e[7m'
+        tc_red='\e[31m';   tc_green='\e[32m'
+        tc_blue='\e[34m';  tc_cyan='\e[36m'
+      else
+        # Otherwise trust the terminfo database after all.
+        test -n "`tput sgr0 2>/dev/null`" && {
+          tc_reset=`tput sgr0`
+          test -n "`tput bold 2>/dev/null`" && tc_bold=`tput bold`
+          tc_standout=$tc_bold
+          test -n "`tput smso 2>/dev/null`" && tc_standout=`tput smso`
+          test -n "`tput setaf 1 2>/dev/null`" && tc_red=`tput setaf 1`
           test -n "`tput setaf 2 2>/dev/null`" && tc_green=`tput setaf 2`
-          test -n "`tput setaf 4 2>/dev/null`" && tc_blue=`tput setaf 4` 
-          test -n "`tput setaf 5 2>/dev/null`" && tc_cyan=`tput setaf 5` 
-        }                                                                
-      fi                                                                 
-    }                                                                    
+          test -n "`tput setaf 4 2>/dev/null`" && tc_blue=`tput setaf 4`
+          test -n "`tput setaf 5 2>/dev/null`" && tc_cyan=`tput setaf 5`
+        }
+      fi
+    }
 
     require_term_colors=:
 }