aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Kevin Ballard <kevin@sb.org>2014-07-13 23:08:38 -0700
committerGravatar Kevin Ballard <kevin@sb.org>2014-07-14 00:46:38 -0700
commitcce4265cef63132f7e398f7cf89a63d8078a9c2e (patch)
tree377a1e6a7c358deef015a534439df6e628c2c4e4
parent973dd6ffbdc189f22b634de0d684e92a9c160c9d (diff)
Fix `make test` to use local functions
When running `make test` we want to use the local function definitions, not the ones installed on the system. The system config.fish will still insert the system definitions at the end, but at least ours will take precedence.
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 9fe0f8e0..4995dddc 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -284,7 +284,7 @@ doc/refman.pdf: doc
test: $(PROGRAMS) fish_tests
./fish_tests
- cd tests; ../fish <test.fish;
+ cd tests; ../fish -c 'set -x fish_function_path "$$PWD"/../share/functions dummy; source' <test.fish;
.PHONY: test