mirror of https://github.com/mpv-player/mpv
Invert the logic to check the cmp return value cmp to avoid using the ! operator.
Useful on non-POSIX shells that do not support the ! operator. We normally require a POSIX-compatible shell, but in this case the change is acceptable since it does not complicate configure nor hurt readability. patch by Ralf Menzel, menzel ls6.cs.uni-dortmund de git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25138 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
27fa018d05
commit
330f7ff8eb
|
@ -8503,7 +8503,7 @@ $_def_xshape
|
|||
EOF
|
||||
|
||||
# Do not overwrite an unchanged config.h to avoid superfluous rebuilds.
|
||||
! cmp -s "$TMPH" config.h && mv -f "$TMPH" config.h
|
||||
cmp -s "$TMPH" config.h || mv -f "$TMPH" config.h
|
||||
|
||||
#############################################################################
|
||||
|
||||
|
|
Loading…
Reference in New Issue