mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-29 18:51:15 -03:00
build_tools/check.sh: ignore modifications to the running script
I sometimes want to run this script in multiple docker containers concurrently, and possibly modify it while another instance is already running. The behavior after modification is unpredictable; let's change it to read the whole script up-front (like Python/fish do).
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
{
|
||||
set -ex
|
||||
|
||||
lint=true
|
||||
@@ -48,3 +49,6 @@ if $lint; then
|
||||
cargo doc --workspace
|
||||
fi
|
||||
FISH_GETTEXT_EXTRACTION_FILE=$template_file "$repo_root/tests/test_driver.py" "$build_dir"
|
||||
|
||||
exit
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user