mirror of
				https://github.com/nyanmisaka/ffmpeg-rockchip.git
				synced 2025-10-31 12:36:41 +08:00 
			
		
		
		
	spaces in path fixes
Originally committed as revision 3791 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
		
							
								
								
									
										6
									
								
								configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								configure
									
									
									
									
										vendored
									
									
								
							| @@ -1244,7 +1244,7 @@ if test "$lshared" = "yes" ; then | |||||||
|   echo "PIC=-fPIC" >> config.mak |   echo "PIC=-fPIC" >> config.mak | ||||||
| fi | fi | ||||||
| echo "EXTRALIBS=$extralibs" >> config.mak | echo "EXTRALIBS=$extralibs" >> config.mak | ||||||
| version=`grep '#define FFMPEG_VERSION ' $source_path/libavcodec/avcodec.h | | version=`grep '#define FFMPEG_VERSION ' "$source_path/libavcodec/avcodec.h" | | ||||||
|  cut -d '"' -f 2` |  cut -d '"' -f 2` | ||||||
| echo "VERSION=$version" >>config.mak | echo "VERSION=$version" >>config.mak | ||||||
| # if you do not want to use encoders, disable that. | # if you do not want to use encoders, disable that. | ||||||
| @@ -1460,10 +1460,10 @@ if test "$source_path_used" = "yes" ; then | |||||||
|             mkdir -p $dir |             mkdir -p $dir | ||||||
|     done |     done | ||||||
|     for f in $FILES ; do |     for f in $FILES ; do | ||||||
|         ln -sf $source_path/$f $f |         ln -sf "$source_path/$f" $f | ||||||
|     done |     done | ||||||
| fi | fi | ||||||
| echo "SRC_PATH=$source_path" >> config.mak | echo "SRC_PATH='$source_path'" >> config.mak | ||||||
|  |  | ||||||
| if test "$amr_wb" = "yes" ; then | if test "$amr_wb" = "yes" ; then | ||||||
|   echo "#define AMR_WB 1" >> $TMPH |   echo "#define AMR_WB 1" >> $TMPH | ||||||
|   | |||||||
| @@ -5,14 +5,14 @@ | |||||||
| # | # | ||||||
| #set -x | #set -x | ||||||
| # Even in the 21st century some diffs are not supporting -u. | # Even in the 21st century some diffs are not supporting -u. | ||||||
| diff -u $0 $0 > /dev/null 2>&1 | diff -u "$0" "$0" > /dev/null 2>&1 | ||||||
| if [ $? -eq 0 ]; then | if [ $? -eq 0 ]; then | ||||||
|   diff_cmd="diff -u" |   diff_cmd="diff -u" | ||||||
| else | else | ||||||
|   diff_cmd="diff" |   diff_cmd="diff" | ||||||
| fi | fi | ||||||
|  |  | ||||||
| diff -w $0 $0 > /dev/null 2>&1 | diff -w "$0" "$0" > /dev/null 2>&1 | ||||||
| if [ $? -eq 0 ]; then | if [ $? -eq 0 ]; then | ||||||
|   diff_cmd="$diff_cmd -w" |   diff_cmd="$diff_cmd -w" | ||||||
| fi | fi | ||||||
| @@ -644,7 +644,7 @@ fi | |||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
| if $diff_cmd $logfile $reffile ; then | if $diff_cmd "$logfile" "$reffile" ; then | ||||||
|     echo  |     echo  | ||||||
|     echo Regression test succeeded. |     echo Regression test succeeded. | ||||||
|     exit 0 |     exit 0 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Michael Niedermayer
					Michael Niedermayer