aboutsummaryrefslogtreecommitdiff
path: root/compile.sh
diff options
context:
space:
mode:
authorfschildt <florian.schildt@protonmail.com>2025-10-01 14:50:00 +0200
committerfschildt <florian.schildt@protonmail.com>2025-10-01 14:50:00 +0200
commit7d9500d27fc91356c580e365351ff6e1bc1c95e1 (patch)
tree34155649d8660603ba89e9ba6285bebb1c3197a8 /compile.sh
parentc68ff7241393c02e9544bdb283710251c9c4b27c (diff)
commit.sh: fix invocation for release build
Diffstat (limited to 'compile.sh')
-rwxr-xr-xcompile.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.sh b/compile.sh
index 444f35e..c70dfe6 100755
--- a/compile.sh
+++ b/compile.sh
@@ -3,7 +3,7 @@
mkdir -p build
cd build
-if [[ "$0" == "Release" ]]; then
+if [[ "$1" == "release" ]]; then
echo "Release"
cmake -DCMAKE_BUILD_TYPE=Release ../cmake
cmake --build .