Fix locking to work with flutter and dart running simultaneously (#133350)
This commit is contained in:
@@ -50,6 +50,7 @@ function follow_links() (
|
||||
|
||||
PROG_NAME="$(follow_links "${BASH_SOURCE[0]}")"
|
||||
BIN_DIR="$(cd "${PROG_NAME%/*}" ; pwd -P)"
|
||||
SHARED_NAME="$BIN_DIR/internal/shared.sh"
|
||||
OS="$(uname -s)"
|
||||
|
||||
# If we're on Windows, invoke the batch script instead to get proper locking.
|
||||
@@ -58,6 +59,6 @@ if [[ $OS =~ MINGW.* || $OS =~ CYGWIN.* || $OS =~ MSYS.* ]]; then
|
||||
fi
|
||||
|
||||
# To define `shared::execute()` function
|
||||
source "$BIN_DIR/internal/shared.sh"
|
||||
source "$SHARED_NAME"
|
||||
|
||||
shared::execute "$@"
|
||||
|
||||
Reference in New Issue
Block a user