summaryrefslogtreecommitdiff
path: root/tests/prepare.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/prepare.sh')
-rwxr-xr-xtests/prepare.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/prepare.sh b/tests/prepare.sh
index 10033491..522dcbd0 100755
--- a/tests/prepare.sh
+++ b/tests/prepare.sh
@@ -4,6 +4,10 @@ if test x$srcdir = x; then
srcdir=.
fi
+if test x$top_builddir = x; then
+ top_builddir=..
+fi
+
tmpdir=$top_builddir/tests/tmp/lighttpd
# create test-framework