[Chapel Merge] Fix split of directory name into prefix and value

Branch: refs/heads/main
Revision: fe7ca07
Author: jhh67
Link: Fix split of directory name into prefix and value by jhh67 · Pull Request #19539 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #19539 from jhh67/pbs

Fix split of directory name into prefix and value

A value may contain '-', so only split the prefix from the value based on the first '-'.

Trivial change, not reviewed.

Modified Files:
M util/chplenv/printchplbuilds.py

Compare: https://github.com/chapel-lang/chapel/compare/610e6be9aac8...fe7ca07eaf93