aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorJames R Larrowe <[email protected]>2024-08-20 13:54:51 -0400
committerMihai Fufezan <[email protected]>2024-08-21 23:09:13 +0300
commit8162fae37728b3ae2b1a82a32663e76c59c4ce61 (patch)
tree036398a092a065348d185bf0d331180de52613f2 /Makefile
parentc5786be695224c2d2771854436844b88a6b48fc5 (diff)
downloadHyprland-8162fae37728b3ae2b1a82a32663e76c59c4ce61.tar.gz
Hyprland-8162fae37728b3ae2b1a82a32663e76c59c4ce61.zip
Fix Makefile too
... did this ever work?
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index adf6fbe8..bc7b750b 100644
--- a/Makefile
+++ b/Makefile
@@ -87,8 +87,8 @@ asan:
#git reset --hard
@echo -en "If you want to apply a patch, input its path (leave empty for none):\n"
- @read patchvar
- @if [-n "$patchvar"]; then patch -p1 < $patchvar || echo ""; else echo "No patch specified"; fi
+ @read patchvar; \
+ if [ -n "$$patchvar" ]; then patch -p1 < "$$patchvar" || echo ""; else echo "No patch specified"; fi
git clone --recursive https://gitlab.freedesktop.org/wayland/wayland
cd wayland && patch -p1 < ../scripts/waylandStatic.diff && meson setup build --buildtype=debug -Db_sanitize=address -Ddocumentation=false && ninja -C build && cd ..