diff options
author | Tim Potter <tpot@samba.org> | 2003-05-22 00:49:24 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-05-22 00:49:24 +0000 |
commit | 23d30cbf9f3927aeabcffa8f2a82c79feab46f65 (patch) | |
tree | bccecbfe82a4b2543aa40cfc7a002d2513e1b0b1 /source3 | |
parent | 0e398e803854fb337e2cfcb5794262cd65dbe609 (diff) | |
download | samba-23d30cbf9f3927aeabcffa8f2a82c79feab46f65.tar.gz samba-23d30cbf9f3927aeabcffa8f2a82c79feab46f65.tar.bz2 samba-23d30cbf9f3927aeabcffa8f2a82c79feab46f65.zip |
Merge of head(1) portability patch.
(This used to be commit 9192921c115b881d687f28d016c478192ab4d4ae)
Diffstat (limited to 'source3')
-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 be3e473b40..2d91173f4a 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 [ `$i --version | head -1 | cut -d. -f 2` -ge 53 ]; then + if [ `$i --version | head -n 1 | cut -d. -f 2` -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 [ `$i --version | head -1 | cut -d. -f 2` -ge 53 ]; then + if [ `$i --version | head -n 1 | cut -d. -f 2` -ge 53 ]; then AUTOCONF=$i AUTOCONFFOUND="1" break |