summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2024-06-25 11:30:15 +0200
committertv <tv@krebsco.de>2024-06-25 11:30:15 +0200
commit215a7605d695865bd84e6ec0d4f813ef1894b950 (patch)
tree42e405e44bd389f7b4bfc7dd71569aa9bfa917a7
parent1a395769bddcb71d31ac6014087399b1b08c1bd0 (diff)
brain: properly quote "$@"
-rw-r--r--krebs/5pkgs/simple/brain/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/krebs/5pkgs/simple/brain/default.nix b/krebs/5pkgs/simple/brain/default.nix
index bf52da75f..aca06c407 100644
--- a/krebs/5pkgs/simple/brain/default.nix
+++ b/krebs/5pkgs/simple/brain/default.nix
@@ -3,11 +3,11 @@
write "brain" {
"/bin/brain".link = writeDash "brain" ''
PASSWORD_STORE_DIR=$HOME/brain \
- exec ${pass}/bin/pass $@
+ exec ${pass}/bin/pass "$@"
'';
"/bin/brainmenu".link = writeDash "brainmenu" ''
PASSWORD_STORE_DIR=$HOME/brain \
- exec ${pass}/bin/passmenu $@
+ exec ${pass}/bin/passmenu "$@"
'';
"/share/bash-completion/completions/brain".link =
runCommand "brain-completions" {