Skip to content

Commit db06f37

Browse files
Fix Windows 32-bit paths in release tooling
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
1 parent 0652ca6 commit db06f37

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ci/release-win.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ source ./ci/lib-deploy.sh
66
./ci/build.sh
77

88
# Sigh, go find paths again
9-
export PATH="/c/Program Files/MIT/Kerberos/bin:$PATH"
9+
if python -c "assert __import__('sys').maxsize <= 2**32"; then
10+
export PATH="/c/Program Files (x86)/MIT/Kerberos/bin:$PATH"
11+
else
12+
export PATH="/c/Program Files/MIT/Kerberos/bin:$PATH"
13+
fi
1014

1115
# build the wheel
1216
python -m pip install wheel

0 commit comments

Comments
 (0)