Skip to content

Commit

Permalink
redoconf/configure.sh: use "cmp -s" to silence output.
Browse files Browse the repository at this point in the history
Eliminates this warning:
    $ mkdir out
    $ ../configure
    $ ../configure --prefix=/usr
    cmp: EOF on _flags after byte 33

Reported-by: [email protected]
  • Loading branch information
apenwarr committed May 15, 2019
1 parent 4b01cdd commit 1ff5262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redoconf/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1ff5262

Please sign in to comment.