Browse Source

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
pull/28/head
Avery Pennarun 1 year ago
parent
commit
1ff5262124
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      redoconf/configure.sh

+ 1
- 1
redoconf/configure.sh View File

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


Loading…
Cancel
Save