diff mbox

[for-1.7,4/5] configure: added acpi unit-test files

Message ID 1385062405-3800-5-git-send-email-marcel.a@redhat.com
State New
Headers show

Commit Message

Marcel Apfelbaum Nov. 21, 2013, 7:33 p.m. UTC
Ensure configure will set-up links for the files
if the build is created in other directory.

Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com>
---
 configure | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox

Patch

diff --git a/configure b/configure
index 9addff1..127e287 100755
--- a/configure
+++ b/configure
@@ -4665,6 +4665,10 @@  for bios_file in \
 do
     FILES="$FILES pc-bios/`basename $bios_file`"
 done
+for test_file in `find $source_path/tests/acpi-test-data -type f`
+do
+    FILES="$FILES tests/acpi-test-data`echo $test_file | sed -e 's/.*acpi-test-data//'`"
+done
 mkdir -p $DIRS
 for f in $FILES ; do
     if [ -e "$source_path/$f" ] && [ "$source_path" != `pwd` ]; then