From fdb791a4211a393d993ef48d810786ff57a9b482 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Fri, 26 Apr 2013 13:50:12 +0100 Subject: [PATCH] Changed base dir to a sane default. --- src/scripts/Makefile.am | 2 +- src/scripts/exactness.in | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/scripts/Makefile.am b/src/scripts/Makefile.am index 499f32a..1a74df3 100644 --- a/src/scripts/Makefile.am +++ b/src/scripts/Makefile.am @@ -1,7 +1,7 @@ MAINTAINERCLEANFILES = Makefile.in exactness: exactness.in - $(AM_V_GEN) $(SED) -e "s|\@libdir\@|$(libdir)|" $(srcdir)/exactness.in > $(builddir)/exactness + $(AM_V_GEN) $(SED) -e "s|\@libdir\@|$(libdir)|" -e "s|\@datadir\@|$(datadir)|" $(srcdir)/exactness.in > $(builddir)/exactness bin_SCRIPTS = exactness diff --git a/src/scripts/exactness.in b/src/scripts/exactness.in index 05635ae..8ca4a74 100755 --- a/src/scripts/exactness.in +++ b/src/scripts/exactness.in @@ -33,7 +33,7 @@ echo "TestName param has to match test name given in tests file (1st field)" echo echo echo "Two additional parameters that $0 accepts:" -echo "BaseDir - This is where '.rec' files reside (gets pwd by default)" +echo "BaseDir - This is where '.rec' files reside." echo "DestDir - Where $0 creates test screen shots." echo " Gets 'current' under 'pwd' by default ('orig' on init)" echo @@ -354,7 +354,7 @@ _orig_dir="orig" # Init dest_dir - should change on the fly _dest_dir= _test_all=1 -_base_dir=\`pwd\` +_base_dir="@datadir@/exactness/recordings" _test_name= _test_cmd=