From 37cb1930f6b7e135b4e0ab8cb005258b64a17efd Mon Sep 17 00:00:00 2001 From: andy5995 Date: Sun, 31 Dec 2017 08:51:07 -0600 Subject: [PATCH] test_prepare (fixes #45) [skip ci] --- test/test_prepare | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/test_prepare b/test/test_prepare index 24b74d17..4114a285 100755 --- a/test/test_prepare +++ b/test/test_prepare @@ -9,11 +9,11 @@ # test_prog=$1 -[ ! -d conf ] && cp -rp $srcdir/conf . -[ ! -d htdocs ] && cp -rp $srcdir/htdocs . +[ ! -d conf ] && cp -rp $top_srcdir/conf . +[ ! -d htdocs ] && cp -rp $top_srcdir/htdocs . -if [ ! -f skiptest_db.txt ] ; then - cp $srcdir/skiptest_db.txt . +if [ ! -f skiptest_db.txt ] ; then + cp $top_srcdir/skiptest_db.txt . fi -exec $srcdir/$test_prog +exec $top_srcdir/$test_prog