File tree 1 file changed +10
-15
lines changed
1 file changed +10
-15
lines changed Original file line number Diff line number Diff line change @@ -9,23 +9,18 @@ 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
- if [[ ! -f /usr/bin/ninja ]]; then
13
- echo " building ninja"
14
- pushd ninja-* /
15
- python3 configure.py --bootstrap
16
- ln -s $( pwd) /ninja /usr/bin/ninja
17
- popd
18
- fi
12
+ pushd ninja-* /
13
+ python3 configure.py --bootstrap
14
+ export NINJA_BINARY=" $( pwd) /ninja"
15
+ export PATH=" $PATH :$PWD "
16
+ popd
19
17
20
18
# symlink meson, it's required to build fuse
21
19
# there are newer version but these require newer python3.x which isn't available on xenial stemcell.
22
20
# it will also never leave the compilation vm, same as ninja
23
- if [[ ! -f /usr/bin/meson ]]; then
24
- echo " building meson"
25
- pushd meson-* /
26
- ln -s $( pwd) /meson.py /usr/bin/meson
27
- popd
28
- fi
21
+ pushd meson-* /
22
+ export MESON_BINARY=" $( pwd) /meson.py"
23
+ popd
29
24
30
25
# build libfuse
31
26
pushd fuse-* /
@@ -34,7 +29,7 @@ pushd fuse-*/
34
29
mkdir build
35
30
cd build
36
31
37
- meson setup --prefix=${BOSH_INSTALL_TARGET} --buildtype=release ..
38
- ninja install
32
+ $MESON_BINARY setup --prefix=${BOSH_INSTALL_TARGET} --buildtype=release ..
33
+ $NINJA_BINARY install
39
34
popd
40
35
You can’t perform that action at this time.
0 commit comments