From 219d114203d51c22d1b38a08858880b4e9546d09 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 29 Jun 2016 16:58:48 +0200 Subject: homebrewed escaping --- hel/recv-media.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hel') diff --git a/hel/recv-media.nix b/hel/recv-media.nix index d4099a66..a4ac7ba7 100644 --- a/hel/recv-media.nix +++ b/hel/recv-media.nix @@ -10,5 +10,5 @@ writeScriptBin "recv-media" '' dir=/var/media cp -ln "$1" "''${dir}/$(basename "$1")" - [[ -n "$2"]] && touch -c -d "$2" "''${dir}/$(basename "$1")" + [[ -n "$2"]] && touch -c -d "$(print "$2" | tr '_' ' ')" "''${dir}/$(basename "$1")" '' -- cgit v1.2.3