From ed20ddc9594b03fcea1c7136ac1acd16abe3e199 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 30 Sep 2016 22:41:55 +0200 Subject: fix typo --- hel/recv-media.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hel') 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" '' tmpFile="''${dir}"/.tmp/$(basename "$1") target="''${dir}"/$(basename "$1") - mkdir -pv $(basename "''${tmpFile}") + mkdir -pv $(dirname "''${tmpFile}") ${eject}/bin/ionice -c 3 -t cp -vn --preserve=all "$1" ''${tmpFile} && mv -v ''${tmpFile} "''${target}" touch -c -m -t "$2" "''${target}" -- cgit v1.2.3