From cda81a0b19cbac2c1e4533f26a31697cd21205e2 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 27 Mar 2012 17:16:53 +0100 Subject: Refactor tests/*.script to use scripts/test-morph instead of tests/morph --- scripts/test-morph | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts') diff --git a/scripts/test-morph b/scripts/test-morph index 3c9e1131..42e086d0 100755 --- a/scripts/test-morph +++ b/scripts/test-morph @@ -23,6 +23,10 @@ set -eu +# Set PATH to include the source directory. This is necessary for +# distributed builds, which invoke morph as a sub-process. +export PATH="$SRCDIR:$PATH" + "$SRCDIR/scripts/cmd-filter" "$SRCDIR/morph" --no-default-config \ --config="$DATADIR/morph.conf" "$@" -- cgit v1.2.1