We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa0768c commit 0a333d3Copy full SHA for 0a333d3
stage_sysroot.bash
@@ -21,10 +21,18 @@ stage_sysroot() {
21
done
22
}
23
24
-docker run -i -t --rm \
25
- -v $PWD/example:/work/example \
26
- -v $PWD/build:/work/build \
27
- -v $PWD/output/opt:/opt \
28
- -v $PWD:/this_dir \
29
- arm-llvm-obf:base \
30
- /bin/bash -c ". /this_dir/stage_sysroot.bash; stage_sysroot"
+run() {
+
+ if [[ -n "$DOCKERCEPTION" ]]; then return; fi
+ docker run -i -t --rm \
+ -v $PWD/example:/work/example \
+ -v $PWD/build:/work/build \
31
+ -v $PWD/output/opt:/opt \
32
+ -v $PWD:/this_dir \
33
+ -e DOCKERCEPTION=1 \
34
+ arm-llvm-obf:base \
35
+ /bin/bash -c ". /this_dir/stage_sysroot.bash; stage_sysroot"
36
+}
37
38
+run
0 commit comments