Skip to content

fix(infra): setup.sh data asset paths break when run from repo root - #65

Open
FucciUnavailable wants to merge 1 commit into
MicrosoftLearning:mainfrom
FucciUnavailable:fix/setup-script-path
Open

fix(infra): setup.sh data asset paths break when run from repo root#65
FucciUnavailable wants to merge 1 commit into
MicrosoftLearning:mainfrom
FucciUnavailable:fix/setup-script-path

Conversation

@FucciUnavailable

Copy link
Copy Markdown

infra/setup.sh uses relative paths (../data/diabetes-data) that only resolve correctly if the script is run from inside infra/. Running it from the repo root (as the docs/quickstart imply) causes: No such file or directory: .../data/diabetes-data/MLTable. This adds a cd "$(dirname "$0")" at the top so the script's relative paths always resolve to its own directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant