aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Laboissière <rafael@laboissiere.net>2025-06-25 09:02:06 -0300
committerRafael Laboissière <rafael@laboissiere.net>2025-06-25 09:02:06 -0300
commita18ab5516a08d86ef33e7a1f4cf9971701058b1b (patch)
tree818dd7d4d9f43c161478eacd2f88bbde32b7d152
parentb5c2f83a15193626671aef25858199c140eec78b (diff)
Fix logic
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 827f397..52d12ed 100644
--- a/Makefile
+++ b/Makefile
@@ -15,8 +15,8 @@ build-stamp: $(BUILD)
.PHONY: install-www
install-www: build-stamp
@[ $(shell hostname -A | cut -d\ -f1) = $(REPOHOST) ] \
- || echo "Operation aborted: not on $(REPOHOST)" \
- && false
+ || ( echo "Operation aborted: not on $(REPOHOST)" ; \
+ false )
mkdir -p $(WWWDIR)
chown -R '$(USER):$(USER)' $(WWWDIR)
install --mode=644 www/$(INDEX) www/$(GPGKEY) $(WWWDIR)