Skip to content

Commit f2c4535

Browse files
committed
dist: Remove working directory before creating packages
1 parent 8068df2 commit f2c4535

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pack.bat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ set execfiles=tcdll.tclock tclock.exe tcplayer.exe tcprop.exe tcsntp.exe tctimer
77
set pkgfiles=readme-kt.txt config-kt.txt format-kt.txt readme.html
88
set srcfiles=source source_all\Makefile source_all\config.h source_custom\Makefile source_custom\config.h pack.bat make_all.bat prepare_custom.bat
99

10-
if not exist pkg mkdir pkg
10+
if exist pkg rd /s /q pkg
11+
mkdir pkg
1112

1213
rem 7-zip32 a -mx=9 -m0=PPMd source.7z %srcfiles% -xr!out -xr!out64 -xr!work -xr!work64 -xr!*.bak -xr!*.old -xr!*.sw? -xr!*~ -xr!*.aps -xr!tags
1314
7-zip32 a -m0=PPMd:o=31:mem=25 source.7z %srcfiles% -xr!out -xr!out64 -xr!work -xr!work64 -xr!*.bak -xr!*.old -xr!*.sw? -xr!*~ -xr!*.aps -xr!tags

0 commit comments

Comments
 (0)