From eae30c8f409ad17d7064a7f0e5c00a80f5f52d35 Mon Sep 17 00:00:00 2001 From: Aurelien Jarno Date: Fri, 14 Jan 2011 20:21:22 +0100 Subject: 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 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index c058934..54afdda 100755 --- a/configure +++ b/configure @@ -3241,7 +3241,7 @@ for bios_file in $source_path/pc-bios/*.bin $source_path/pc-bios/*.dtb $source_p done mkdir -p $DIRS for f in $FILES ; do - test -f $f || symlink $source_path/$f $f + test -e $f || symlink $source_path/$f $f done # temporary config to build submodules -- cgit v1.1