diff options
author | Gerald Carter <jerry@samba.org> | 2007-06-07 13:35:39 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:23:11 -0500 |
commit | 544b376d1a9f7a538083f4bc0f905a26a003cc33 (patch) | |
tree | 95c54dcb5478a7ac32a54c49ece279d8c0b0c57f | |
parent | 423dfd67078bd358b1f8a588d242168f94b34c3e (diff) | |
download | samba-544b376d1a9f7a538083f4bc0f905a26a003cc33.tar.gz samba-544b376d1a9f7a538083f4bc0f905a26a003cc33.tar.bz2 samba-544b376d1a9f7a538083f4bc0f905a26a003cc33.zip |
r23377: Patch from Bjoern Jacke <bjoern@j3e.de> to deal
with non-GNU implementations of tr in autogen.sh
(This used to be commit ccc466c56a93906ef5dfa1079796b1a8a44b43c0)
-rwxr-xr-x | source3/autogen.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/autogen.sh b/source3/autogen.sh index 3a58b29f60..02f55c5421 100755 --- a/source3/autogen.sh +++ b/source3/autogen.sh @@ -16,7 +16,7 @@ AUTOCONFFOUND="0" ## for i in $TESTAUTOHEADER; do if which $i > /dev/null 2>&1; then - if test `$i --version | head -n 1 | cut -d. -f 2 | tr -d [:alpha:]` -ge 53; then + if test `$i --version | head -n 1 | cut -d. -f 2 | sed "s/[^0-9]//g"` -ge 53; then AUTOHEADER=$i AUTOHEADERFOUND="1" break @@ -30,7 +30,7 @@ done for i in $TESTAUTOCONF; do if which $i > /dev/null 2>&1; then - if test `$i --version | head -n 1 | cut -d. -f 2 | tr -d [:alpha:]` -ge 53; then + if test `$i --version | head -n 1 | cut -d. -f 2 | sed "s/[^0-9]//g"` -ge 53; then AUTOCONF=$i AUTOCONFFOUND="1" break |