From 1ff5262124bd507d92d99e09ebe5b5e3d09217bd Mon Sep 17 00:00:00 2001 From: Avery Pennarun Date: Wed, 15 May 2019 14:12:26 -0700 Subject: [PATCH] redoconf/configure.sh: use "cmp -s" to silence output. Eliminates this warning: $ mkdir out $ ../configure $ ../configure --prefix=/usr cmp: EOF on _flags after byte 33 Reported-by: compufreak@gmail.com --- redoconf/configure.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redoconf/configure.sh b/redoconf/configure.sh index 38986e9..0160493 100644 --- a/redoconf/configure.sh +++ b/redoconf/configure.sh @@ -196,7 +196,7 @@ done >>_flags.tmp # unnecessary rebuilds. redo-stamp can do this for a redo target, # but _flags is being generated by this configure script, which is # not a redo target. -if [ -e _flags ] && cmp _flags.tmp _flags >/dev/null; then +if [ -e _flags ] && cmp -s _flags.tmp _flags; then rm -f _flags.tmp else rm -f _flags