From e01e6f05c82bb4cafa562cdd3dbf1e9903575b0a Mon Sep 17 00:00:00 2001 From: GI_Jack Date: Mon, 3 Oct 2022 13:36:38 -0700 Subject: [PATCH] make /usr/bin/ directory before trying to write to it --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 8f3bf29..d3acd2b 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,7 @@ install: install -Dm755 harbor_wave.py "$(DESTDIR)/$(PREFIX)/share/harbor-wave/harbor_wave.py" install -Dm644 man/harbor-wave.1 "$(DESTDIR)/$(PREFIX)/share/man/man1/harbor-wave.1" install -Dm644 bash-completion/harbor-wave "$(DESTDIR)/usr/share/bash-completion/completions/harbor-wave" + install -dm755 "$(DESTDIR)/$(PREFIX)/bin/" echo "$(PREFIX)/share/harbor-wave/harbor_wave.py \$$@" > "$(DESTDIR)/$(PREFIX)/bin/harbor-wave" chmod 755 "$(DESTDIR)/$(PREFIX)/bin/harbor-wave" install -Dm644 misc_docs/Commands.md "$(DESTDIR)/$(PREFIX)/share/harbor-wave/docs/Commands.md"