summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hel/recv-media.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/hel/recv-media.nix b/hel/recv-media.nix
index 0be20d0c..2c42c5da 100644
--- a/hel/recv-media.nix
+++ b/hel/recv-media.nix
@@ -16,7 +16,7 @@ writeScriptBin "recv-media" ''
16 tmpFile="''${dir}"/.tmp/$(basename "$1") 16 tmpFile="''${dir}"/.tmp/$(basename "$1")
17 target="''${dir}"/$(basename "$1") 17 target="''${dir}"/$(basename "$1")
18 18
19 mkdir -pv $(basename "''${tmpFile}") 19 mkdir -pv $(dirname "''${tmpFile}")
20 20
21 ${eject}/bin/ionice -c 3 -t cp -vn --preserve=all "$1" ''${tmpFile} && mv -v ''${tmpFile} "''${target}" 21 ${eject}/bin/ionice -c 3 -t cp -vn --preserve=all "$1" ''${tmpFile} && mv -v ''${tmpFile} "''${target}"
22 touch -c -m -t "$2" "''${target}" 22 touch -c -m -t "$2" "''${target}"