Skip to content

Commit 4760d17

Browse files
committed
(docker/dist) install.sh - make the -m option work again
1 parent 4be2a39 commit 4760d17

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

docker/dist/install.sh

+8-4
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,15 @@ do
3131
shift
3232
done
3333

34-
rm -rf build
35-
mkdir build
36-
cd build
34+
if $CONF; then
35+
rm -rf build
36+
mkdir build
37+
cd build
3738

38-
$CONF && ../configure $CONF_OPT
39+
../configure $CONF_OPT
40+
else
41+
cd build
42+
fi
3943
make -j $(nproc) > /dev/null
4044
sudo make install > /dev/null
4145

0 commit comments

Comments
 (0)