tag: remove_sdl1_2
commit bca7c91b999972b38f32335a7ad01e5dd7159f54
Author: Kai Sterker <[email protected]>
Commit: Kai Sterker <[email protected]>
UPDATED configure.in to use sed instead of more (Thanks Mathieu!)
---
configure.in | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure.in b/configure.in
index 34dbe24..3f30104 100755
--- a/configure.in
+++ b/configure.in
@@ -40,9 +40,9 @@ AC_MSG_CHECKING(for Adonthell's version)
$adonthell_binary -v &> adonthell.ver
changequote(<<, >>)
-adonthell_major_ver=`more adonthell.ver | sed
's/\([0-9]*\)\.[0-9]*\.[0-9]*/\1/p; d'`
-adonthell_minor_ver=`more adonthell.ver | sed
's/[0-9]*\.\([0-9]*\)\.[0-9]*/\1/p; d'`
-adonthell_micro_ver=`more adonthell.ver | sed
's/[0-9]*\.[0-9]*\.\([0-9]*\)/\1/p; d'`
+adonthell_major_ver=`sed 's/\([0-9]*\)\.[0-9]*\.[0-9]*/\1/p; d' adonthell.ver`
+adonthell_minor_ver=`sed 's/[0-9]*\.\([0-9]*\)\.[0-9]*/\1/p; d' adonthell.ver`
+adonthell_micro_ver=`sed 's/[0-9]*\.[0-9]*\.\([0-9]*\)/\1/p; d' adonthell.ver`
changequote([, ])
rm -f adonthell.ver
_______________________________________________
Adonthell-commits mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/adonthell-commits