diff options
author | lassulus <git@lassul.us> | 2023-07-30 17:17:06 +0200 |
---|---|---|
committer | lassulus <git@lassul.us> | 2023-07-30 17:17:06 +0200 |
commit | 8534fe4290f9c79d6b19f649964940c1408ece71 (patch) | |
tree | 8c5a9da138b31e4c8429d40b5d70df93ded08795 /krebs | |
parent | 12b54dce4c37df5e8ae25d1776ace2669c51cf34 (diff) |
reaktor2: quote state_file in hledger
Diffstat (limited to 'krebs')
-rw-r--r-- | krebs/2configs/reaktor2.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/2configs/reaktor2.nix b/krebs/2configs/reaktor2.nix index 95ef2f8ae..8837f0aa5 100644 --- a/krebs/2configs/reaktor2.nix +++ b/krebs/2configs/reaktor2.nix @@ -28,7 +28,7 @@ let amt=$2 unit=$3 printf '%s\n %s %d %s\n %s %d %s\n' "$(date -Id)" "$tonick" "$amt" "$unit" "$_from" "$(expr 0 - "''${amt#+}")" "$unit" >> $state_file - ${pkgs.hledger}/bin/hledger -f $state_file bal -N -O csv \ + ${pkgs.hledger}/bin/hledger -f "$state_file" bal -N -O csv \ | ${pkgs.coreutils}/bin/tail +2 \ | ${pkgs.miller}/bin/mlr --icsv --opprint cat \ | ${pkgs.gnugrep}/bin/grep "$_from" |