git checkout . git clean -xdf git checkout v5.14.0-RC1 perl -pi.orig -e " s!^#INST_VER!INST_VER! " win32/makefile.mk perl -pi.orig -e " s!^#INST_ARCH!INST_ARCH! " win32/makefile.mk perl -pi.orig -e " s!^#INST_VER!INST_VER! " win32/Makefile perl -pi.orig -e " s!^#INST_ARCH!INST_ARCH! " win32/Makefile perl -pi.orig -e " s!^USE_SITECUST\s*=.*$!USE_SITECUST *= undef! " win32/makefile.mk perl -pi.orig -e " s!^USE_SITECUST\s*=.*$!USE_SITECUST = undef! " win32/Makefile perl -pi.orig -e " s!^(LIBC\s+=\s+-lmsvcrt)!#$1! " win32/makefile.mk perl -pi.orig -e "s!^#EMAIL\s[^=].*$!EMAIL *= username\@localhost\ncf_by=username\ncf_email=username\@localhost!" win32/makefile.mk perl -pi.orig -e "s!^#EMAIL\s[^=].*$!EMAIL = username\@localhost\ncf_by=username\ncf_email=username\@localhost!" win32/Makefile perl -pi.orig -e "s!^\s+cf_email=\$\(EMAIL\)\s+~\s+\\$!\t\tcf_email=username\@localhost\t\t~\t\\\n\t\tcf_by=username\t\t~\t\\!" win32/makefile.mk perl -pi.orig -e "s!^\s+\x22cf_email=\$\(EMAIL\)\x22\s+\\$!\t\t\x22cf_email=username\@localhost\x22\t\t\t\\\n\t\t\x22cf_by=username\x22\t\t\t\\!" win32/Makefile perl -pi.orig -e "BEGIN{@ARGV=glob'win32/config.*'; } s!^((?:html(?:1dir(?:exp)?|3dir(?:exp)?)|install(?:html(?:help|[13])?|sitehtml[13]|vendorhtml[13])dir|sitehtml(?:1dir(?:exp)?|3dir(?:exp)?)|vendorhtml(?:1dir(?:exp)?|3dir(?:exp)?)))=.*$!$1=''!" perl -pi.orig -e "BEGIN{@ARGV=glob'win32/config.*'; } s!^((?:install(?:man[13]|siteman[13]|vendorman[13])dir|man(?:1(?:dir(?:exp)?|ext)|3(?:dir(?:exp)?|ext))|s(?:iteman(?:1dir(?:exp)?|3dir(?:exp)?)|ysman)|vendorman(?:1dir(?:exp)?|3dir(?:exp)?)))=.*$!$1=''!" perl -pi.orig -e "s!^(\s+)perl (\$OPT.*)$!$1\$Config{perlpath} $2!" win32/bin/pl2bat.pl perl -pi.orig -e "BEGIN{@ARGV=glob'win32/config.*'; } s!^sitescript=.*$!sitescript='~INST_TOP~\\site~INST_VER~\\bin'!" perl -pi.orig -e "BEGIN{@ARGV=glob'win32/config.*'; } s!^installsitescript=.*$!installsitescript='~INST_TOP~\\site~INST_VER~\\bin'!" del win32\bin\pl2bat.pl.orig del win32\*.orig