diff options
author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-08-15 00:40:02 +0200 |
---|---|---|
committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-08-15 00:40:02 +0200 |
commit | b21d520715627186efd489bd07bc6e0257b275ad (patch) | |
tree | 3aa33d8db3e7340e5ab3ebfe39d1b0ebc0a7bce9 /hel/recv-media.nix | |
parent | 415640971886d97294e110d8bfce82ed4e509783 (diff) | |
download | nixos-b21d520715627186efd489bd07bc6e0257b275ad.tar nixos-b21d520715627186efd489bd07bc6e0257b275ad.tar.gz nixos-b21d520715627186efd489bd07bc6e0257b275ad.tar.bz2 nixos-b21d520715627186efd489bd07bc6e0257b275ad.tar.xz nixos-b21d520715627186efd489bd07bc6e0257b275ad.zip |
easier timestamp format
Diffstat (limited to 'hel/recv-media.nix')
-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 2ae78e90..10f9397d 100644 --- a/hel/recv-media.nix +++ b/hel/recv-media.nix | |||
@@ -11,5 +11,5 @@ writeScriptBin "recv-media" '' | |||
11 | target="''${dir}"/$(basename "$1") | 11 | target="''${dir}"/$(basename "$1") |
12 | 12 | ||
13 | cp -ln "$1" "''${target}" | 13 | cp -ln "$1" "''${target}" |
14 | touch -c -d "$(print "$2" | tr '_' ' ')" "''${target}" | 14 | touch -c -t "$2" "''${target}" |
15 | '' | 15 | '' |