[Groonga-commit] groonga/groonga [master] Remove -e echo option because it's not portable

Back to archive index

null+****@clear***** null+****@clear*****
Fri Aug 10 22:01:01 JST 2012


Kouhei Sutou	2012-08-10 22:01:01 +0900 (Fri, 10 Aug 2012)

  New Revision: a21d844c9ca6760540a7d65a55f3e5126a7b876e
  https://github.com/groonga/groonga/commit/a21d844c9ca6760540a7d65a55f3e5126a7b876e

  Log:
    Remove -e echo option because it's not portable

  Modified files:
    autogen.sh

  Modified: autogen.sh (+11 -11)
===================================================================
--- autogen.sh    2012-08-10 18:29:25 +0900 (6a1836a)
+++ autogen.sh    2012-08-10 22:01:01 +0900 (de204ef)
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 warn() {
-	echo -e "\tWARNING: $@" 1>&2
+	echo "\tWARNING: $@" 1>&2
 }
 
 # init
@@ -35,13 +35,13 @@ esac
 # libtoolize
 echo "Searching libtoolize..."
 if [ `which $LIBTOOLIZE` ] ; then
-  echo -e "\tFOUND: libtoolize -> $LIBTOOLIZE"
+  echo "\tFOUND: libtoolize -> $LIBTOOLIZE"
 else
   warn "Cannot Found libtoolize... input libtool command"
   read LIBTOOLIZE
   LIBTOOLIZE=`which $LIBTOOLIZE`
   if [ `which $LIBTOOLIZE` ] ; then
-    echo -e "\tSET: libtoolize -> $LIBTOOLIZE"
+    echo "\tSET: libtoolize -> $LIBTOOLIZE"
   else
     warn "$LIBTOOLIZE: Command not found."
     exit 1;
@@ -51,13 +51,13 @@ fi
 # aclocal
 echo "Searching aclocal..."
 if [ `which $ACLOCAL` ] ; then
-  echo -e "\tFOUND: aclocal -> $ACLOCAL"
+  echo "\tFOUND: aclocal -> $ACLOCAL"
 else
   warn "Cannot Found aclocal... input aclocal command"
   read ACLOCAL
   ACLOCAL=`which $ACLOCAL`
   if [ `which $ACLOCAL` ] ; then
-    echo -e "\tSET: aclocal -> $ACLOCAL"
+    echo "\tSET: aclocal -> $ACLOCAL"
   else
     warn "$ACLOCAL: Command not found."
     exit 1;
@@ -67,13 +67,13 @@ fi
 # automake
 echo "Searching automake..."
 if [ `which $AUTOMAKE` ] ; then
-  echo -e "\tFOUND: automake -> $AUTOMAKE"
+  echo "\tFOUND: automake -> $AUTOMAKE"
 else
   warn "Cannot Found automake... input automake command"
   read AUTOMAKE
   ACLOCAL=`which $AUTOMAKE`
   if [ `which $AUTOMAKE` ] ; then
-    echo -e "\tSET: automake -> $AUTOMAKE"
+    echo "\tSET: automake -> $AUTOMAKE"
   else
     warn "$AUTOMAKE: Command not found."
     exit 1;
@@ -83,13 +83,13 @@ fi
 # autoheader
 echo "Searching autoheader..."
 if [ `which $AUTOHEADER` ] ; then
-  echo -e "\tFOUND: autoheader -> $AUTOHEADER"
+  echo "\tFOUND: autoheader -> $AUTOHEADER"
 else
   warn "Cannot Found autoheader... input autoheader command"
   read AUTOHEADER
   ACLOCAL=`which $AUTOHEADER`
   if [ `which $AUTOHEADER` ] ; then
-    echo -e "\tSET: autoheader -> $AUTOHEADER"
+    echo "\tSET: autoheader -> $AUTOHEADER"
   else
     warn "$AUTOHEADER: Command not found."
     exit 1;
@@ -99,13 +99,13 @@ fi
 # autoconf
 echo "Searching autoconf..."
 if [ `which $AUTOCONF` ] ; then
-  echo -e "\tFOUND: autoconf -> $AUTOCONF"
+  echo "\tFOUND: autoconf -> $AUTOCONF"
 else
   warn "Cannot Found autoconf... input autoconf command"
   read AUTOCONF
   ACLOCAL=`which $AUTOCONF`
   if [ `which $AUTOCONF` ] ; then
-    echo -e "\tSET: autoconf -> $AUTOCONF"
+    echo "\tSET: autoconf -> $AUTOCONF"
   else
     warn "$AUTOCONF: Command not found."
     exit 1;
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index