From: Robert 'phaylon' Sedlacek Date: Tue, 19 Jun 2012 21:45:07 +0000 (+0000) Subject: use env var instead of fixed path X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8e9d9fe52af96a3cea5b0859a913e6d5691720aa;p=scpubgit%2FJSON-Tree-Viewer.git use env var instead of fixed path --- diff --git a/br.pl b/br.pl index 88de96b..9cd6f6d 100644 --- 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 {