non-interactive shell fix

This commit is contained in:
Oleg Moskalenko 2015-11-01 23:21:33 -08:00
parent 83ca21fc32
commit 9a82dda964
3 changed files with 3 additions and 14 deletions

View File

@ -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 <mom040267@gmail.com>
Version 4.5.0.2 'dan Eider':

14
configure vendored
View File

@ -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}"

View File

@ -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