Ver Fonte

wamr-compiler/build_llvm.sh: use dot instead of source (#4541)

note that dot is in posix and more portable than source.
YAMAMOTO Takashi há 6 meses atrás
pai
commit
082e558d66
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      wamr-compiler/build_llvm.sh

+ 1 - 1
wamr-compiler/build_llvm.sh

@@ -14,6 +14,6 @@ cleanup() {
 trap cleanup EXIT INT TERM
 trap cleanup EXIT INT TERM
 
 
 /usr/bin/env python3 -m venv --clear "$TEMP_DIR"
 /usr/bin/env python3 -m venv --clear "$TEMP_DIR"
-source "$TEMP_DIR/bin/activate"
+. "$TEMP_DIR/bin/activate"
 /usr/bin/env python3 -m pip install -r ../build-scripts/requirements.txt
 /usr/bin/env python3 -m pip install -r ../build-scripts/requirements.txt
 /usr/bin/env python3 ../build-scripts/build_llvm.py "$@"
 /usr/bin/env python3 ../build-scripts/build_llvm.py "$@"