about summary refs log tree commit diff
path: root/tests/restricted.sh
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2017-01-01T16·42+0200
committerTuomas Tynkkynen <tuomas@tuxera.com>2017-01-03T08·11+0200
commitc698ec1f220f9be4c4184532f0a6c2a9370f3839 (patch)
tree0f342df53ff7d87784be74c76def8ddd914c6f9a /tests/restricted.sh
parentb6b142b4b10552f2a2a8c904487bbd196d35a5c1 (diff)
nix-shell: Fix 'nix-shell -i'
The 'args' variable here is shadowing one in the outer scope and its
contents end up unused. This causes any '#! nix-shell' lines to
effectively be ignored. The intention here was to clear the args vector,
as far as I can tell (and it seems to work).
Diffstat (limited to 'tests/restricted.sh')
0 files changed, 0 insertions, 0 deletions