summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2011-01-14 20:21:22 +0100
committerAurelien Jarno <aurelien@aurel32.net>2011-01-14 20:21:22 +0100
commiteae30c8f409ad17d7064a7f0e5c00a80f5f52d35 (patch)
tree85059b7a6a774119e5df7b7269554494e64f9bb3 /configure
parent74242e0f7f4bf3d85fe28b939a3d66827fe653e5 (diff)
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>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index c058934571..54afdda8f7 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