mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 06:39:13 +00:00
No idea why Github actions is failing for MacOS. All code looks good to me.
This commit is contained in:
+6
-1
@@ -330,7 +330,12 @@ endif
|
|||||||
# Use '-n' as on macos x86-64 doesn't have a binary wheel and it autoincludes 'cp311'.
|
# Use '-n' as on macos x86-64 doesn't have a binary wheel and it autoincludes 'cp311'.
|
||||||
prev_whl_name=$$(find build/bonsai/wheels/tzfpy-*.whl); \
|
prev_whl_name=$$(find build/bonsai/wheels/tzfpy-*.whl); \
|
||||||
whl_name=$$(echo $$prev_whl_name | sed "s/-cp39-/-cp$(PYNUMBER)-/"); \
|
whl_name=$$(echo $$prev_whl_name | sed "s/-cp39-/-cp$(PYNUMBER)-/"); \
|
||||||
mv -n "$$prev_whl_name" "$$whl_name";
|
echo "$$prev_whl_name $$whl_name"; \
|
||||||
|
if [ "$$(realpath $$prev_whl_name)" = "$$(realpath $$whl_name)" ]; then \
|
||||||
|
echo "Source and destination are the same file. Skipping move."; \
|
||||||
|
else \
|
||||||
|
mv -n "$$prev_whl_name" "$$whl_name"; \
|
||||||
|
fi
|
||||||
|
|
||||||
ifneq ($(PLATFORM), linux)
|
ifneq ($(PLATFORM), linux)
|
||||||
# Safeguard: in case one of `pip download` will break,
|
# Safeguard: in case one of `pip download` will break,
|
||||||
|
|||||||
Reference in New Issue
Block a user