From 877edfa122837c3025ac9fc74895be5cb92d3433 Mon Sep 17 00:00:00 2001 From: lassulus Date: Fri, 1 Sep 2017 22:15:51 +0200 Subject: Reaktor plugins wiki-todo: fix flag injection found by makefu --- krebs/5pkgs/simple/Reaktor/plugins.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'krebs/5pkgs/simple/Reaktor/plugins.nix') diff --git a/krebs/5pkgs/simple/Reaktor/plugins.nix b/krebs/5pkgs/simple/Reaktor/plugins.nix index d4fa5b1c..eb591b27 100644 --- a/krebs/5pkgs/simple/Reaktor/plugins.nix +++ b/krebs/5pkgs/simple/Reaktor/plugins.nix @@ -131,14 +131,14 @@ rec { wiki-todo-add = buildSimpleReaktorPlugin "wiki-todo-add" { pattern = "^wiki-todo: (?P.*)$$"; script = pkgs.writeDash "wiki-todo-add" '' - echo "$@" >> wiki-todo + echo "$*" >> wiki-todo echo "added todo" ''; }; wiki-todo-done = buildSimpleReaktorPlugin "wiki-todo-done" { pattern = "^wiki-todo-done: (?P.*)$$"; script = pkgs.writeDash "wiki-todo-done" '' - ${pkgs.gnugrep}/bin/grep -vFx "$@" wiki-todo > wiki-todo.tmp + ${pkgs.gnugrep}/bin/grep -Fvxe "$*" wiki-todo > wiki-todo.tmp ${pkgs.coreutils}/bin/mv wiki-todo.tmp wiki-todo ''; }; -- cgit v1.2.3