Skip to content

Commit 50e8519

Browse files
committed
Merge branch 'topic/fix-macos-build.issue-12' into 'master'
Fix macOS build See merge request eng/toolchain/gnatcoll-core!44
2 parents d9622ac + 60e7404 commit 50e8519

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)