Skip to content

Commit 9532631

Browse files
committed
build?
1 parent b0030b7 commit 9532631

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

scripts/build-linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ cd ..
99
# SKIA_BUILD_IMAGE=myrepo/custom-image:tag ./scripts/build-linux.sh x64
1010
IMAGE="${CLANG_BUILDER_IMAGE:-clang-cross-builder}"
1111

12-
docker run --rm -it \
12+
docker run --rm \
1313
-u "$(id -u)":"$(id -g)" \
1414
-v "$(pwd)":"$(pwd)" \
1515
-w "$(pwd)" \

scripts/build.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -331,9 +331,9 @@ def main():
331331
self_contained = "--self-contained" in args
332332
debug = "--debug" in args
333333

334-
# prepend ./depot_tools to PATH
335-
os.environ["PATH"] = DEPOT_TOOLS_PATH + os.pathsep + os.environ.get("PATH", "")
336-
334+
# prepend ../depot_tools to PATH
335+
depot_tools_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "depot_tools"))
336+
os.environ["PATH"] = depot_tools_path + os.pathsep + os.environ.get("PATH", "")
337337

338338

339339
if arch == "all":

0 commit comments

Comments
 (0)