diff options
author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-09-30 22:41:55 +0200 |
---|---|---|
committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-09-30 22:41:55 +0200 |
commit | ed20ddc9594b03fcea1c7136ac1acd16abe3e199 (patch) | |
tree | d0937ea0061d5aa002ee9cd356844f28dcd388e3 /hel | |
parent | e97210b2ed30702b87c6ce1881861198c42335ae (diff) | |
download | nixos-ed20ddc9594b03fcea1c7136ac1acd16abe3e199.tar nixos-ed20ddc9594b03fcea1c7136ac1acd16abe3e199.tar.gz nixos-ed20ddc9594b03fcea1c7136ac1acd16abe3e199.tar.bz2 nixos-ed20ddc9594b03fcea1c7136ac1acd16abe3e199.tar.xz nixos-ed20ddc9594b03fcea1c7136ac1acd16abe3e199.zip |
fix typo
Diffstat (limited to 'hel')
-rw-r--r-- | hel/recv-media.nix | 2 |
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}" |