aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-07-17 20:03:06 +0200
committerdec05eba <dec05eba@protonmail.com>2024-07-17 20:03:06 +0200
commit7048ed6184f607623534dfe84b74124090667ec8 (patch)
tree768eeb478dc47fdec262f5dc6273832db65a7d15 /install.sh
parent91d725840e2d518bd11dbd446ac133b095f03148 (diff)
Remove build directory in install script
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index 78e45b8..0396ea8 100755
--- a/install.sh
+++ b/install.sh
@@ -7,7 +7,8 @@ cd "$script_dir"
echo "Warning: this install.sh script is deprecated. Use meson directly instead if possible"
-test -d build || meson setup build
+rm -rf build
+meson setup build
meson configure --prefix=/usr --buildtype=release -Dstrip=true build
ninja -C build install