chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.db-test.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c11d6fe
)
Honour YARRG_DATA_DIR in CommodsWeb
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 25 Aug 2009 17:56:19 +0000
(18:56 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 25 Aug 2009 17:56:19 +0000
(18:56 +0100)
yarrg/CommodsWeb.pm
patch
|
blob
|
history
diff --git
a/yarrg/CommodsWeb.pm
b/yarrg/CommodsWeb.pm
index 036c7e99ffe4dd48a55324578f58aaa00754e4d1..3ad8590fa9313cab26b1b7e225d745a146193e94 100644
(file)
--- a/
yarrg/CommodsWeb.pm
+++ b/
yarrg/CommodsWeb.pm
@@
-73,6
+73,8
@@
sub sourcebasedir () {
}
sub datadir () {
+ my $edir= $ENV{'YARRG_DATA_DIR'};
+ return $edir if defined $edir;
my $dir= dotperllibdir();
if (stat "$dir/DATA") {
return "$dir/DATA";