summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--win32/GNUmakefile3
-rw-r--r--win32/Makefile3
2 files changed, 4 insertions, 2 deletions
diff --git a/win32/GNUmakefile b/win32/GNUmakefile
index 81ded707b9..594887f7fe 100644
--- a/win32/GNUmakefile
+++ b/win32/GNUmakefile
@@ -1181,7 +1181,8 @@ endif
..\perl$(o) : ..\git_version.h
..\config.sh : $(CFGSH_TMPL) config_sh.PL FindExt.pm $(HAVEMINIPERL)
- $(MINIPERL) -I..\lib config_sh.PL $(CFG_VARS) $(CFGSH_TMPL) > ..\config.sh
+ $(MINIPERL) -I..\lib config_sh.PL $(CFG_VARS) $(CFGSH_TMPL) > ..\config.sh.tmp
+ rename ..\config.sh.tmp config.sh
# This target is for when changes to the main config.sh happen.
# Edit config.gc, then make perl using GCC in a minimal configuration (i.e.
diff --git a/win32/Makefile b/win32/Makefile
index 7351a229f5..db821a3271 100644
--- a/win32/Makefile
+++ b/win32/Makefile
@@ -873,7 +873,8 @@ perlglob$(o) : perlglob.c
..\perl$(o) : ..\git_version.h
..\config.sh : $(CFGSH_TMPL) config_sh.PL FindExt.pm $(MINIPERL)
- $(MINIPERL) -I..\lib config_sh.PL $(CFG_VARS) $(CFGSH_TMPL) > ..\config.sh
+ $(MINIPERL) -I..\lib config_sh.PL $(CFG_VARS) $(CFGSH_TMPL) > ..\config.sh.tmp
+ rename ..\config.sh.tmp config.sh
# This target is for when changes to the main config.sh happen.
# Edit config.vc, then make perl in a minimal configuration (i.e. with MULTI,