diff options
author | Diego Biurrun <diego@biurrun.de> | 2006-01-03 15:13:59 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-01-03 15:13:59 +0000 |
commit | 39503a271530f709425eb298364241afed6d432f (patch) | |
tree | 89d68edae370daf15c42c6298fe17911d87bbffc | |
parent | e3880318a795bac10a00c582efa151f0ed85a02e (diff) | |
download | ffmpeg-39503a271530f709425eb298364241afed6d432f.tar.gz |
bashism--; Use POSIX-compatible string handling instead.
Originally committed as revision 4806 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-x | configure | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1474,13 +1474,13 @@ lavu_version=`grep '#define LIBAVUTIL_VERSION ' "$source_path/libavutil/avutil.h if test "$lshared" = "yes" ; then echo "BUILD_SHARED=yes" >> 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 "LAVCMAJOR=${lavc_version/.*/}" >> config.mak + echo "LAVCMAJOR=${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 "LAVUMAJOR=${lavu_version/.*/}" >> config.mak + echo "LAVUMAJOR=${lavu_version%%.*}" >> config.mak echo "LAVUVERSION=$lavu_version" >> config.mak fi echo "EXTRALIBS=$extralibs" >> config.mak |