Skip to content

Commit 60e7404

Browse files
committed
Fix macOS build
Fixes sed command used in Makefile, which was incorrect for macOS. Issue: #12 Change-Id: I1df0ec204e27eb4b722bfa0d78005148d94bdbaf
1 parent d9622ac commit 60e7404

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,9 @@ build-%: $(GNATCOV_RTS)
157157
# the user choice.
158158

159159
ifeq ($(GNATCOLL_PROJECTS), yes)
160-
$(SED) -i 's/^-- with "gpr"/with "gpr"/g' $(GNATCOLL_GPR)
160+
$(SED) -e 's/^-- with "gpr"/with "gpr"/g' $(GNATCOLL_GPR) > tmp ; mv tmp $(GNATCOLL_GPR)
161161
else
162-
$(SED) -i 's/^with "gpr"/-- with "gpr"/g' $(GNATCOLL_GPR)
162+
$(SED) -e 's/^with "gpr"/-- with "gpr"/g' $(GNATCOLL_GPR) > tmp ; mv tmp $(GNATCOLL_GPR)
163163
endif
164164

165165
ifeq ($(GNATCOV), yes)

0 commit comments

Comments
 (0)