Skip to content

Commit d588d4b

Browse files
committed
Source instead of subshell extra scripts
This allows the run_task script to control output even in the extra_test and extra_lint scripts. This might polute the script if a lot of logic is put in the extra_* scripts, but that isn't their intended use.
1 parent 21b4554 commit d588d4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/run_task.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ do_test() {
174174

175175
if [ -e ./contrib/extra_tests.sh ];
176176
then
177-
./contrib/extra_tests.sh
177+
. ./contrib/extra_tests.sh
178178
fi
179179
}
180180

@@ -254,7 +254,7 @@ do_lint_crates() {
254254
for crate in $CRATES; do
255255
pushd "$REPO_DIR/$crate" > /dev/null
256256
if [ -e ./contrib/extra_lints.sh ]; then
257-
./contrib/extra_lints.sh
257+
. ./contrib/extra_lints.sh
258258
fi
259259
popd > /dev/null
260260
done

0 commit comments

Comments
 (0)