From: Amitai Schleier Date: Mon, 2 Jan 2017 11:57:35 +0000 (-0500) Subject: Enquote $background_command as surely intended. X-Git-Tag: 3.20170110~21 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/8bf22739372715e56f10a7798d23cda3e18139f3 Enquote $background_command as surely intended. --- diff --git a/IkiWiki/Wrapper.pm b/IkiWiki/Wrapper.pm index a8de39eea..d8a387ec1 100644 --- a/IkiWiki/Wrapper.pm +++ b/IkiWiki/Wrapper.pm @@ -160,7 +160,7 @@ EOF if (defined $config{wrapper_background_command} && length $config{wrapper_background_command}) { my $background_command=delete $config{wrapper_background_command}; - $set_background_command=~s/"/\\"/g; + $background_command=~s/"/\\"/g; $set_background_command='#define BACKGROUND_COMMAND "'.$background_command.'"'; }