Skip to content

Commit

Permalink
handle missing value for u_width
Browse files Browse the repository at this point in the history
  • Loading branch information
mattip committed Mar 2, 2020
1 parent f16e61f commit 45d84c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,8 @@ function cpython_path {
if [ $(lex_ver $py_ver) -ge $(lex_ver 3.4) ] ||
[ "$u_width" == "16" ]; then
u_suff=""
elif [ "$u_width" == ""]; then
u_width="32"
elif [ "$u_width" != "32" ]; then
echo "Incorrect u_width value $u_width"
exit 1
Expand Down

0 comments on commit 45d84c6

Please sign in to comment.