summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <pngwjpgh@users.noreply.github.com>2016-06-29 17:03:34 +0200
committerGregor Kleen <pngwjpgh@users.noreply.github.com>2016-06-29 17:03:34 +0200
commitec4c0c43a83d87b50ffa830381a13233efd42059 (patch)
tree925f03087c88472cd2277555a0fdf57c8b42dd8a
parent219d114203d51c22d1b38a08858880b4e9546d09 (diff)
downloadnixos-ec4c0c43a83d87b50ffa830381a13233efd42059.tar
nixos-ec4c0c43a83d87b50ffa830381a13233efd42059.tar.gz
nixos-ec4c0c43a83d87b50ffa830381a13233efd42059.tar.bz2
nixos-ec4c0c43a83d87b50ffa830381a13233efd42059.tar.xz
nixos-ec4c0c43a83d87b50ffa830381a13233efd42059.zip
syntax
-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 a4ac7ba7..5994ebea 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 -d "$(print "$2" | tr '_' ' ')" "''${dir}/$(basename "$1")" 13 [[ -n "$2" ]] && touch -c -d "$(print "$2" | tr '_' ' ')" "''${dir}/$(basename "$1")"
14'' 14''