diff options
author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-06-28 18:29:44 +0200 |
---|---|---|
committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-06-28 18:29:44 +0200 |
commit | 8f73d79b9420a6263e67dade2ea9747baaa6e04f (patch) | |
tree | 1356b4084f3f0c3b6356b02c916e7c15c000a760 | |
parent | 49797afa4019597765943289c622b06173adf197 (diff) | |
download | nixos-8f73d79b9420a6263e67dade2ea9747baaa6e04f.tar nixos-8f73d79b9420a6263e67dade2ea9747baaa6e04f.tar.gz nixos-8f73d79b9420a6263e67dade2ea9747baaa6e04f.tar.bz2 nixos-8f73d79b9420a6263e67dade2ea9747baaa6e04f.tar.xz nixos-8f73d79b9420a6263e67dade2ea9747baaa6e04f.zip |
proper argument for human readable time
-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 ef63d7ed..d4099a66 100644 --- a/hel/recv-media.nix +++ b/hel/recv-media.nix | |||
@@ -10,5 +10,5 @@ writeScriptBin "recv-media" '' | |||
10 | dir=/var/media | 10 | dir=/var/media |
11 | 11 | ||
12 | cp -ln "$1" "''${dir}/$(basename "$1")" | 12 | cp -ln "$1" "''${dir}/$(basename "$1")" |
13 | [[ -n "$2"]] && touch -c -t "$2" "''${dir}/$(basename "$1")" | 13 | [[ -n "$2"]] && touch -c -d "$2" "''${dir}/$(basename "$1")" |
14 | '' | 14 | '' |