mirror of https://git.ffmpeg.org/ffmpeg.git
Use != instead of -ne in test invocations for greater portability.
patch by Michel Bardiaux, mbardiaux XatX mediaxim XdotX be Originally committed as revision 5021 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
9cb2cf10b2
commit
214c5f26c9
|
@ -1941,7 +1941,7 @@ done
|
||||||
|
|
||||||
# Do not overwrite config.h if unchanged to avoid superfluous rebuilds.
|
# Do not overwrite config.h if unchanged to avoid superfluous rebuilds.
|
||||||
diff $TMPH config.h >/dev/null 2>&1
|
diff $TMPH config.h >/dev/null 2>&1
|
||||||
if test $? -ne 0 ; then
|
if test "$?" != "0" ; then
|
||||||
mv -f $TMPH config.h
|
mv -f $TMPH config.h
|
||||||
else
|
else
|
||||||
echo "config.h is unchanged"
|
echo "config.h is unchanged"
|
||||||
|
|
Loading…
Reference in New Issue