* ikiwiki-mass-rebuild: Don't clear PATH from the environment.
* Add handling of feeds for nested inlines, as well as support for a
single page containing two different feeds.
* Also fixed some places in inline that failed to use destpage correctly.
* Add handling of feeds for nested inlines, as well as support for a
single page containing two different feeds.
* Also fixed some places in inline that failed to use destpage correctly.
- * ikiwiki-mass-rebuild: Patch from HenrikBrixAndersen to fix order
+ * ikiwiki-mass-rebuild: Patch from HenrikBrixAndersen to fix order
of permissions dropping code to work on FreeBSD.
of permissions dropping code to work on FreeBSD.
+ * ikiwiki-mass-rebuild: Don't clear PATH from the environment.
- -- Joey Hess <joeyh@debian.org> Thu, 25 Oct 2007 07:52:43 -0400
+ -- Joey Hess <joeyh@debian.org> Thu, 25 Oct 2007 23:11:13 -0400
ikiwiki (2.10) unstable; urgency=low
ikiwiki (2.10) unstable; urgency=low
> > It doesn't - it needs to be set. The line with `%ENV=();` clears the environment, thus no `$PATH` is set. --[[HenrikBrixAndersen]]
> > It doesn't - it needs to be set. The line with `%ENV=();` clears the environment, thus no `$PATH` is set. --[[HenrikBrixAndersen]]
+> > > I guess it shouldn't clear it then. Both [[done]] --[[Joey]]
+
Proposed patch:
--- ikiwiki-mass-rebuild.orig 2007-08-15 22:21:59.000000000 +0200
Proposed patch:
--- ikiwiki-mass-rebuild.orig 2007-08-15 22:21:59.000000000 +0200
if ($< != $uuid || $> != $uuid || $( != $ugid || $) ne "$ugid $ugid") {
die "failed to drop permissions to $user";
}
if ($< != $uuid || $> != $uuid || $( != $ugid || $) ne "$ugid $ugid") {
die "failed to drop permissions to $user";
}
- %ENV=();
- $ENV{HOME}=(getpwnam($user))[7];
+ %ENV=(
+ PATH => $ENV{PATH},
+ HOME => (getpwnam($user))[7],
+ );
exec("ikiwiki", "-setup", $setup, @ARGV);
die "failed to run ikiwiki: $!";
}
exec("ikiwiki", "-setup", $setup, @ARGV);
die "failed to run ikiwiki: $!";
}