diff options
author | Malte Voos <git@mal.tc> | 2024-04-05 00:30:10 +0200 |
---|---|---|
committer | Malte Voos <git@mal.tc> | 2024-04-05 00:30:10 +0200 |
commit | 402076debdba3520df41d4c07369abb5dfdf636c (patch) | |
tree | 5c52374a5cd7ec5dcb246ce98a959ec10fbee238 /flake.nix | |
parent | 00aac26be89be59a62127f407b494be632328b48 (diff) | |
download | reMder-402076debdba3520df41d4c07369abb5dfdf636c.tar.gz reMder-402076debdba3520df41d4c07369abb5dfdf636c.zip |
fix nested shell quoting stuff
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix index 31585b4..8c86952 100644 --- a/flake.nix +++ b/flake.nix @@ -162,7 +162,7 @@ ${ssh} ${guest} mkdir ${documentDir} rsync --rsh="${ssh}" "$in" ${guest}:${documentDir} - ${ssh} ${guest} unzip "${documentDir}/$in_basename" -d ${documentDir} + ${ssh} ${guest} "unzip '${documentDir}/$in_basename' -d ${documentDir}" doc_id="$(${ssh} ${guest} find ${documentDir} -mindepth 1 -type d ! -name '\*.\*' -exec basename {} '\;')" curl -o "$out" "http://127.0.0.1:${toString httpPort}/download/$doc_id/placeholder" |