[SCM] libav/experimental: Use != instead of -ne in test invocations for greater portability. patch by Michel Bardiaux, mbardiaux XatX mediaxim XdotX be

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:46:34 UTC 2013


The following commit has been merged in the experimental branch:
commit 214c5f26c9acd231056753dc2d336d73040bff34
Author: Michel Bardiaux <mbardiaux at peaktime.be>
Date:   Mon Feb 13 22:50:00 2006 +0000

    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

diff --git a/configure b/configure
index 1770aa4..bfcbaff 100755
--- a/configure
+++ b/configure
@@ -1941,7 +1941,7 @@ done
 
 # Do not overwrite config.h if unchanged to avoid superfluous rebuilds.
 diff $TMPH config.h >/dev/null 2>&1
-if test $? -ne 0 ; then
+if test "$?" != "0" ; then
         mv -f $TMPH config.h
 else
         echo "config.h is unchanged"

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list