mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-11-17 18:02:23 +03:00
simplify
Originally committed as revision 7040 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
1 parent
165af439f1
commit
c683a5d129
1 file changed
+1
-2
@@ -2051,8 +2051,7 @@ for codec in $DECODER_LIST $ENCODER_LIST $PARSER_LIST $DEMUXER_LIST $MUXER_LIST;
|
||||
done
|
||||
|
||||
# Do not overwrite config.h if unchanged to avoid superfluous rebuilds.
|
||||
diff $TMPH config.h >/dev/null 2>&1
|
||||
if test "$?" != "0" ; then
|
||||
if ! cmp -s $TMPH config.h; then
|
||||
mv -f $TMPH config.h
|
||||
else
|
||||
echo "config.h is unchanged"
|
||||
|
||||
Reference in new issue
Block a user