about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorSamuel Dionne-Riel <samuel@dionne-riel.com>2018-04-08T02·38-0400
committerSamuel Dionne-Riel <samuel@dionne-riel.com>2018-04-08T02·38-0400
commit399f43c3d5fe91db3a2d6968d8ec30a4d6fbf285 (patch)
tree7424574b32c4c0636bbe049f9080c2d4394b0e33 /tests
parentb828051659cf7cac21577982afd3f9314dc2e68c (diff)
nix-shell: Fixes use with ruby shebangs.
The ported code in 80ebc553eca19dafc64c47420cd49ddd506bc9b7 was incorrectly ported.

```
-            $envCommand = "exec $execArgs $interpreter -e 'load(\"$script\")' -- ${\(join ' ', (map shellEscape, @savedArgs))}";
...
+                    envCommand = (format("exec %1% %2% -e 'load(\"%3%\") -- %4%") % execArgs % interpreter % script % joined.str()).str();
```

The single-quote finishing the small ruby snippet was lost in
translation.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions