configure: fix check of date output

This commit is contained in:
Miroslav Lichvar 2015-12-08 12:55:05 +01:00
parent 610f234043
commit d44e26ba22

2
configure vendored
View file

@ -487,7 +487,7 @@ then
split_days=0
else
split_seconds=`date '+%s'`
if [ "x$split_seconds" = "" ]; then
if [ "x$split_seconds" = "x" ]; then
echo "error: could not get current time, --with-ntp-era option is needed"
exit 1
fi