]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
Enquote $background_command as surely intended.
authorAmitai Schleier <schmonz-web-ikiwiki@schmonz.com>
Mon, 2 Jan 2017 11:57:35 +0000 (06:57 -0500)
committerAmitai Schleier <schmonz-web-ikiwiki@schmonz.com>
Mon, 2 Jan 2017 11:57:35 +0000 (06:57 -0500)
IkiWiki/Wrapper.pm

index a8de39eea13b7d6ac83be34e4c7735b9ca9f5478..d8a387ec1b3012b662b1dc285e7b4b465d5372d6 100644 (file)
@@ -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.'"';
        }