File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -9,17 +9,23 @@ for f in $(find . -name "*tar.gz"); do
9
9
done
10
10
11
11
# first build ninja, it's required to install fuse
12
- pushd ninja-* /
12
+ if [[ ! -f /usr/bin/ninja ]]; then
13
+ echo " building ninja"
14
+ pushd ninja-* /
13
15
python3 configure.py --bootstrap
14
16
ln -s $( pwd) /ninja /usr/bin/ninja
15
- popd
17
+ popd
18
+ fi
16
19
17
20
# symlink meson, it's required to build fuse
18
21
# there are newer version but these require newer python3.x which isn't available on xenial stemcell.
19
22
# it will also never leave the compilation vm, same as ninja
20
- pushd meson-* /
23
+ if [[ ! -f /usr/bin/meson ]]; then
24
+ echo " building meson"
25
+ pushd meson-* /
21
26
ln -s $( pwd) /meson.py /usr/bin/meson
22
- popd
27
+ popd
28
+ fi
23
29
24
30
# build libfuse
25
31
pushd fuse-* /
You can’t perform that action at this time.
0 commit comments