Commit 39503a27 authored by Diego Biurrun's avatar Diego Biurrun

bashism--; Use POSIX-compatible string handling instead.

Originally committed as revision 4806 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent e3880318
...@@ -1474,13 +1474,13 @@ lavu_version=`grep '#define LIBAVUTIL_VERSION ' "$source_path/libavutil/avutil.h ...@@ -1474,13 +1474,13 @@ lavu_version=`grep '#define LIBAVUTIL_VERSION ' "$source_path/libavutil/avutil.h
if test "$lshared" = "yes" ; then if test "$lshared" = "yes" ; then
echo "BUILD_SHARED=yes" >> config.mak echo "BUILD_SHARED=yes" >> config.mak
echo "PIC=-fPIC -DPIC" >> config.mak echo "PIC=-fPIC -DPIC" >> config.mak
echo "SPPMAJOR=${lavc_version/.*/}" >> config.mak echo "SPPMAJOR=${lavc_version%%.*}" >> config.mak
echo "SPPVERSION=$lavc_version" >> config.mak echo "SPPVERSION=$lavc_version" >> config.mak
echo "LAVCMAJOR=${lavc_version/.*/}" >> config.mak echo "LAVCMAJOR=${lavc_version%%.*}" >> config.mak
echo "LAVCVERSION=$lavc_version" >> config.mak echo "LAVCVERSION=$lavc_version" >> config.mak
echo "LAVFMAJOR=${lavf_version/.*/}" >> config.mak echo "LAVFMAJOR=${lavf_version%%.*}" >> config.mak
echo "LAVFVERSION=$lavf_version" >> config.mak echo "LAVFVERSION=$lavf_version" >> config.mak
echo "LAVUMAJOR=${lavu_version/.*/}" >> config.mak echo "LAVUMAJOR=${lavu_version%%.*}" >> config.mak
echo "LAVUVERSION=$lavu_version" >> config.mak echo "LAVUVERSION=$lavu_version" >> config.mak
fi fi
echo "EXTRALIBS=$extralibs" >> config.mak echo "EXTRALIBS=$extralibs" >> config.mak
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment