diff --git a/ChangeLog b/ChangeLog index 78d8058..d5135c6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ Version 4.5.0.3 'dan Eider': - Compatibility with OpenSSL distributions or clones that does not support SSLv3 (like LibreSSL 2.3.0). - compilation and configuration cleaning. + - fix for non-interactive shells. 9/29/2015 Oleg Moskalenko Version 4.5.0.2 'dan Eider': diff --git a/configure b/configure index 4d5f61f..0e2d1c3 100755 --- a/configure +++ b/configure @@ -521,19 +521,7 @@ if [ -z "${ARCHIVERCMD}" ] ; then fi if [ -z "${MORECMD}" ]; then - type more 2>>/dev/null - ER=$? - if [ ${ER} -eq 0 ] ; then - MORECMD="more" - else - type less 2>>/dev/null - ER=$? - if [ ${ER} -eq 0 ] ; then - MORECMD="less" - else - MORECMD="cat" - fi - fi + MORECMD="cat" fi OSCFLAGS="-I${INCLUDEDIR} -I${PREFIX}/include/ -I/usr/local/include ${CFLAGS}" diff --git a/rpm/turnserver.spec b/rpm/turnserver.spec index 2082984..cdef7f3 100644 --- a/rpm/turnserver.spec +++ b/rpm/turnserver.spec @@ -101,7 +101,7 @@ This package contains the TURN client development headers. %build PREFIX=%{_prefix} CONFDIR=%{_sysconfdir}/%{name} EXAMPLESDIR=%{_datadir}/%{name} \ - MANPREFIX=%{_datadir} LIBDIR=%{_libdir} MORECMD=cat ./configure + MANPREFIX=%{_datadir} LIBDIR=%{_libdir} ./configure make %install