Skip to content
This repository was archived by the owner on May 29, 2025. It is now read-only.

Commit a335108

Browse files
committed
Included etwpackage\ in etwpackage.zip paths
1 parent 648883f commit a335108

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

make_zip_file.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@
99
filename = sys.argv[1]
1010
dirToZip = sys.argv[2]
1111

12-
# Change to the specified directory so that relative paths are added instead
13-
# of absolute paths.
14-
os.chdir(dirToZip)
15-
dirToZip = "."
12+
# Assume that dirToZip is a relative directory.
13+
dirToZip = dirToZip
1614

1715
# Request compression
1816
zf = zipfile.ZipFile(filename, "w", zipfile.ZIP_DEFLATED)

package_etw.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ xcopy %UIforETW%\bin\UIforETWStatic_devrel32.exe %destdir%\bin\UIforETW32.exe /y
6464
xcopy %UIforETW%\bin\UIforETWStatic_devrel.exe %destdir%\bin\UIforETW.exe /y
6565
xcopy %destdir%\bin\UIforETW*.exe %~dp0bin /y
6666

67-
python %UIforETW%make_zip_file.py %UIforETW%etwpackage.zip %destdir%
67+
python %UIforETW%make_zip_file.py %UIforETW%etwpackage.zip etwpackage
6868

6969
@echo Now upload the new etwpackage.zip
7070
@exit /b

0 commit comments

Comments
 (0)