summaryrefslogtreecommitdiff
path: root/erts
diff options
context:
space:
mode:
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/test/nif_SUITE_data/Makefile.src4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/test/nif_SUITE_data/Makefile.src b/erts/emulator/test/nif_SUITE_data/Makefile.src
index 156bb99087..69dd2d6757 100644
--- a/erts/emulator/test/nif_SUITE_data/Makefile.src
+++ b/erts/emulator/test/nif_SUITE_data/Makefile.src
@@ -27,5 +27,5 @@ DRIVER_DIR = ../erl_drv_thread_SUITE_data
WSL=@WSL@
basic.c rwlock.c tsd.c: $(DRIVER_DIR)/$@
- $(WSL) cat head.txt $(DRIVER_DIR)/$@ tail.txt > $@
- $(WSL) sed -e 's/erl_drv_/enif_/g' -e 's/driver_/enif_/g' -e 's/ErlDrv/ErlNif/g' -i.bak $@
+ $(WSL) sed -e 's/erl_drv_/enif_/g' -e 's/driver_/enif_/g' -e 's/ErlDrv/ErlNif/g' $(DRIVER_DIR)/$@ > $@.tmp
+ $(WSL) cat head.txt $@.tmp tail.txt > $@