Create any missing directory necessary to put the wrapper file into. Closes: #514384

master
Joey Hess 2009-02-09 15:13:12 -05:00
parent 6605764c52
commit badc6c229f
2 changed files with 3 additions and 4 deletions

View File

@ -93,10 +93,7 @@ EOF
$configstring=~s/"/\\"/g; $configstring=~s/"/\\"/g;
$configstring=~s/\n/\\n/g; $configstring=~s/\n/\\n/g;
#translators: The first parameter is a filename, and the second is writefile(basename("$wrapper.c"), dirname($wrapper), <<"EOF");
#translators: a (probably not translated) error message.
open(OUT, ">$wrapper.c") || error(sprintf(gettext("failed to write %s: %s"), "$wrapper.c", $!));
print OUT <<"EOF";
/* A wrapper for ikiwiki, can be safely made suid. */ /* A wrapper for ikiwiki, can be safely made suid. */
#include <stdio.h> #include <stdio.h>
#include <sys/types.h> #include <sys/types.h>

2
debian/changelog vendored
View File

@ -9,6 +9,8 @@ ikiwiki (3.04) UNRELEASED; urgency=low
(smcv) (smcv)
* Updated German translation (Kai Wasserbäch). Closes: #514251 * Updated German translation (Kai Wasserbäch). Closes: #514251
* Fix unusual --setup --post-commit command line option combo. * Fix unusual --setup --post-commit command line option combo.
* Create any missing directory necessary to put the wrapper
file into. Closes: #514384
-- Joey Hess <joeyh@debian.org> Sat, 31 Jan 2009 19:04:45 -0500 -- Joey Hess <joeyh@debian.org> Sat, 31 Jan 2009 19:04:45 -0500