Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fengzch-das
multibuild
Commits
f46e683b
Commit
f46e683b
authored
Aug 18, 2020
by
Andrew Murray
Browse files
Only remove original wheel if new wheel is created
parent
c2890dc8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
manylinux_utils.sh
manylinux_utils.sh
+5
-2
No files found.
manylinux_utils.sh
View file @
f46e683b
...
@@ -16,9 +16,12 @@ function repair_wheelhouse {
...
@@ -16,9 +16,12 @@ function repair_wheelhouse {
if
[[
$whl
==
*
none-any.whl
]]
;
then
# Pure Python wheel
if
[[
$whl
==
*
none-any.whl
]]
;
then
# Pure Python wheel
if
[
"
$in_dir
"
!=
"
$out_dir
"
]
;
then
cp
$whl
$out_dir
;
fi
if
[
"
$in_dir
"
!=
"
$out_dir
"
]
;
then
cp
$whl
$out_dir
;
fi
else
else
wheel_count
=
$(
find
$out_dir
-name
*
.whl |
wc
-l
)
auditwheel repair
$whl
-w
$out_dir
/
auditwheel repair
$whl
-w
$out_dir
/
# Remove unfixed if writing into same directory
if
[[
$(
find
$out_dir
-name
*
.whl |
wc
-l
)
-gt
$wheel_count
]]
;
then
if
[
"
$in_dir
"
==
"
$out_dir
"
]
;
then
rm
$whl
;
fi
# Remove unfixed if writing into same directory
if
[
"
$in_dir
"
==
"
$out_dir
"
]
;
then
rm
$whl
;
fi
fi
fi
fi
done
done
chmod
-R
a+rwX
$out_dir
chmod
-R
a+rwX
$out_dir
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment