Skip to content

Commit f37e5c0

Browse files
committed
Make sure we only install the build platform's executable
1 parent a772cec commit f37e5c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ swift-release-notes: $(SOURCES)
2626
.PHONY: install
2727
install: swift-release-notes
2828
@install -d "$(bindir)"
29-
@install "$(wildcard $(BUILDDIR)/**/release/swift-release-notes)" "$(bindir)"
29+
@install "$(shell swift build -c release --show-bin-path)/swift-release-notes" "$(bindir)"
3030

3131
.PHONY: uninstall
3232
uninstall:

0 commit comments

Comments
 (0)