summaryrefslogtreecommitdiff
path: root/hel
diff options
context:
space:
mode:
authorGregor Kleen <pngwjpgh@users.noreply.github.com>2016-06-28 18:29:44 +0200
committerGregor Kleen <pngwjpgh@users.noreply.github.com>2016-06-28 18:29:44 +0200
commit8f73d79b9420a6263e67dade2ea9747baaa6e04f (patch)
tree1356b4084f3f0c3b6356b02c916e7c15c000a760 /hel
parent49797afa4019597765943289c622b06173adf197 (diff)
downloadnixos-8f73d79b9420a6263e67dade2ea9747baaa6e04f.tar
nixos-8f73d79b9420a6263e67dade2ea9747baaa6e04f.tar.gz
nixos-8f73d79b9420a6263e67dade2ea9747baaa6e04f.tar.bz2
nixos-8f73d79b9420a6263e67dade2ea9747baaa6e04f.tar.xz
nixos-8f73d79b9420a6263e67dade2ea9747baaa6e04f.zip
proper argument for human readable time
Diffstat (limited to 'hel')
-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 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''