tasn pushed a commit to branch master.

commit fdb791a4211a393d993ef48d810786ff57a9b482
Author: Tom Hacohen <[email protected]>
Date:   Fri Apr 26 13:50:12 2013 +0100

    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=
 

-- 

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr

Reply via email to