Skip to content

Commit 0464e4f

Browse files
committed
BUG: Remove existing IPP directory before moving
Fixes the following issue when building a module depending on another remote module: mv: rename ITKPythonPackage to /Users/svc-dashboard/D/P/ITKPythonPackage: Directory not empty
1 parent 0aac817 commit 0464e4f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/macpython-download-cache-and-build-module-wheels.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ if [[ -n ${ITKPYTHONPACKAGE_TAG} ]]; then
8686
fi
8787

8888
# Run build scripts
89+
if [[ -d /Users/svc-dashboard/D/P/ITKPythonPackage ]]; then
90+
sudo rm -rf /Users/svc-dashboard/D/P/ITKPythonPackage
91+
fi
8992
sudo mkdir -p /Users/svc-dashboard/D/P && sudo chown $UID:$GID /Users/svc-dashboard/D/P && mv ITKPythonPackage /Users/svc-dashboard/D/P/
9093

9194
# Optionally install baseline Python versions

0 commit comments

Comments
 (0)