From 1c63b1f4c97db371eb3dbc243bd3197b3f79c677 Mon Sep 17 00:00:00 2001 From: Sergey Zolotarev Date: Sun, 22 Oct 2023 23:31:32 +0600 Subject: [PATCH] Fix failing commands --- BSDmakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BSDmakefile b/BSDmakefile index 13174f8..79696ea 100644 --- a/BSDmakefile +++ b/BSDmakefile @@ -42,13 +42,13 @@ GARGS = "--no-print-directory" # The GNU convention is to use the lowercased `prefix` variable/macro to # specify the installation directory. Humor them. -GPREFIX = "" +GPREFIX = .if defined(PREFIX) && ! defined(prefix) GPREFIX = 'prefix = "$(PREFIX)"' .endif .BEGIN: .SILENT - which $(GMAKE) || printf "Error: GNU Make is required!\n\n" 1>&2 && false + which $(GMAKE) || (printf "Error: GNU Make is required!\n\n" 1>&2 && false) .PHONY: FRC $(.TARGETS): FRC