use env var instead of fixed path
Robert 'phaylon' Sedlacek [Tue, 19 Jun 2012 21:45:07 +0000 (21:45 +0000)]
br.pl

diff --git a/br.pl b/br.pl
index 88de96b..9cd6f6d 100644 (file)
--- a/br.pl
+++ b/br.pl
@@ -11,7 +11,7 @@ has root => (is => 'lazy');
 has json => (is => 'lazy');
 
 sub _build_root {
-  io->dir("/home/matthewt/tmp/introspection-data/host/services-dev/stable/node/host/")
+  io->dir( $ENV{JTV_ROOT} || die "JTV_ROOT env var not set" )
 }
 
 sub _build_json {