configure: fix broken test
Since commit d1807a4f836c27f6dc7061e53a834dd27f78e46a ./configure tries to test files and directories with "test -f", which only test for regular files. Test with "test -e", which looks for any kind of files. This unbreak the configure script when not using a separate object directory. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
		
							parent
							
								
									74242e0f7f
								
							
						
					
					
						commit
						eae30c8f40
					
				
							
								
								
									
										2
									
								
								configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								configure
									
									
									
									
										vendored
									
									
								
							@ -3241,7 +3241,7 @@ for bios_file in $source_path/pc-bios/*.bin $source_path/pc-bios/*.dtb $source_p
 | 
				
			|||||||
done
 | 
					done
 | 
				
			||||||
mkdir -p $DIRS
 | 
					mkdir -p $DIRS
 | 
				
			||||||
for f in $FILES ; do
 | 
					for f in $FILES ; do
 | 
				
			||||||
    test -f $f || symlink $source_path/$f $f
 | 
					    test -e $f || symlink $source_path/$f $f
 | 
				
			||||||
done
 | 
					done
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# temporary config to build submodules
 | 
					# temporary config to build submodules
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user