aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Wrapper.pm
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-09-16 04:09:06 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-09-16 04:09:06 +0000
commit22ddd81dd25e3dd814c38ac20b771eca05029759 (patch)
tree7c13a4e8e0fea3c1910d1e23824655d02754e630 /IkiWiki/Wrapper.pm
parentefecdae0914773b224b76a4247e1aaf3fd24ee0e (diff)
downloadikiwiki-22ddd81dd25e3dd814c38ac20b771eca05029759.tar
ikiwiki-22ddd81dd25e3dd814c38ac20b771eca05029759.tar.gz
* Numerous tla fixes from Clint.
Diffstat (limited to 'IkiWiki/Wrapper.pm')
-rw-r--r--IkiWiki/Wrapper.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/IkiWiki/Wrapper.pm b/IkiWiki/Wrapper.pm
index 0f64a59f4..4a98af622 100644
--- a/IkiWiki/Wrapper.pm
+++ b/IkiWiki/Wrapper.pm
@@ -46,6 +46,12 @@ EOF
asprintf(&newenviron[i++], "%s=%s", "REV", s);
EOF
}
+ if ($config{rcs} eq "tla" && $config{notify}) {
+ $envsave.=<<"EOF"
+ if ((s=getenv("ARCH_VERSION")))
+ asprintf(&newenviron[i++], "%s=%s", "ARCH_VERSION", s);
+EOF
+ }
$Data::Dumper::Indent=0; # no newlines
my $configstring=Data::Dumper->Dump([\%config], ['*config']);