aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/gen_output.fish
diff options
context:
space:
mode:
authorGravatar Kevin Ballard <kevin@sb.org>2014-09-30 17:06:56 -0700
committerGravatar Kevin Ballard <kevin@sb.org>2014-09-30 17:06:56 -0700
commit51527612d3162fde31c41d7183320365856f2aae (patch)
treef1d1703cc516d3a5d34e4f75d4547d70c7ac8e55 /tests/gen_output.fish
parentc181de1d7fa46821c7a89633e3ab3639d89fd2a3 (diff)
Don't leave is_block in bad state after bad redirection
Fixes #1728.
Diffstat (limited to 'tests/gen_output.fish')
-rwxr-xr-xtests/gen_output.fish4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gen_output.fish b/tests/gen_output.fish
index 49e15bfd..7bf7f3ec 100755
--- a/tests/gen_output.fish
+++ b/tests/gen_output.fish
@@ -1,4 +1,4 @@
-#!/usr/bin/fish
+#!/usr/bin/env fish
#
# Generate output for a test script
@@ -14,4 +14,4 @@ for i in $argv
fish <$i >$template_out ^$template_err
echo $status >$template_status
-end \ No newline at end of file
+end