bazel-contrib/rules_python
Auf GitHub ansehenSupport non-bash based script bootstrap
Open
#3.012 geöffnet am 20. Juni 2025
Good first issuecore-rulestype: feature request
Repository-Metriken
- Stars
- (679 Stars)
- PR-Merge-Metriken
- (PR-Metriken ausstehend)
Beschreibung
Right now, the stage1 script bootstrap requires bash. It has a variety of bashisms or non-posix constructs that prevent it from working in other shells.
Bash isn't bad, it is just a heavier weight shell than e.g. dash (default on ubuntu/debian).
Looking at the code most changes are minor. The major change is the usage of arrays -- posix doesn't actually specify arrays.
Related: https://github.com/bazel-contrib/rules_python/issues/2500