Update start.sh

This commit is contained in:
Timothy J. Baek 2024-05-30 19:20:54 -07:00
parent ab0ff071c2
commit d48e51c927

View File

@ -41,8 +41,12 @@ download_pipelines() {
cd "$destination" || exit
git sparse-checkout set "$subdir"
)
elif [[ "$path" =~ \.py$ ]]; then
# It's a single .py file (but not from GitHub)
dest_file=$(basename "$path")
curl -L "$path" -o "$destination/$dest_file"
else
echo "Invalid PIPELINES_URLS format."
echo "Invalid URL format: $path"
exit 1
fi
}