Under set -euo pipefail, find over a missing directory exits non-zero, and the command substitution propagates that so setup aborts on a slim dist-only layout (a PyPI wheel that ships frontend/dist without src/ or public/). Pass only the directories that exist to find, so the cache-hit path completes instead of aborting. |
||
|---|---|---|
| .. | ||
| backend | ||
| frontend | ||
| __init__.py | ||
| install_python_stack.py | ||
| LICENSE.AGPL-3.0 | ||
| setup.bat | ||
| setup.ps1 | ||
| setup.sh | ||
| Unsloth_Studio_Colab.ipynb | ||