diff options
| author | lassulus <lass@aidsballs.de> | 2015-09-05 12:17:59 +0200 |
|---|---|---|
| committer | lassulus <lass@aidsballs.de> | 2015-09-05 12:17:59 +0200 |
| commit | e74d26cb818a56fae6f1b0a718d5c9d95b890a26 (patch) | |
| tree | 1b60ffba78e2a7d5e872e05e3220d38701758569 /tv/4lib | |
| parent | 5ff4c693227b74c3d55a80bef06cfeebd1e649e6 (diff) | |
| parent | d1bb3d552550c81f73495adc00a847ad65641eb0 (diff) | |
Merge branch 'makefu'
Diffstat (limited to 'tv/4lib')
| -rw-r--r-- | tv/4lib/default.nix | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/tv/4lib/default.nix b/tv/4lib/default.nix index 352689a..106535b 100644 --- a/tv/4lib/default.nix +++ b/tv/4lib/default.nix @@ -16,12 +16,5 @@ krebs // rec { # "7.4.335" -> "74" majmin = with lib; x : concatStrings (take 2 (splitString "." x)); - shell-escape = - let - isSafeChar = c: match "[-./0-9_a-zA-Z]" c != null; - in - stringAsChars (c: - if isSafeChar c then c - else if c == "\n" then "'\n'" - else "\\${c}"); + shell-escape = krebs.shell.escape; } |
