Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Commit 91bee22

Browse files
committed
log-parser: add support for Darwin install
`install -D` is not supported on Darwin, so we need to modify how kata-log-parser is installed. Signed-off-by: Salvador Fuentes <[email protected]>
1 parent ab48ccf commit 91bee22

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmd/log-parser/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ $(TARGET): $(SOURCES) check
2323
go build -o "$(TARGET)" -ldflags "-X main.name=${TARGET} -X main.commit=${COMMIT} -X main.version=${VERSION}" .
2424

2525
install: $(TARGET)
26-
install -D $(TARGET) $(DESTTARGET)
26+
install -d $(shell dirname $(DESTTARGET))
27+
install $(TARGET) $(DESTTARGET)
2728

2829
clean:
2930
rm -f $(TARGET)

0 commit comments

Comments
 (0)