summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2021-01-01 00:22:23 -0600
committerMatthew Bauer <mjbauer95@gmail.com>2021-06-23 01:32:58 -0500
commit8fa084dc0f0d3eac2714f15bc478f10b33ad433c (patch)
treee4465af1bbadf82ced0e1eb4a85959c500230901 /pkgs/development/python-modules/rangehttpserver
parentba4b4aea566ee8783f9196a6b6cefe64cb9ec491 (diff)
stdenv/setup.sh: Add version check to setup script
Only bash 4+ works in setup.sh. To make sure this is obvious, we can check BASH_VERSINFO to get the major version number of Bash. While Bash 3 is pretty rare, it still comes stock in macOS. We *could* provide a warning here for non-Bash shells, but it’s not always clear whether they will work or not. Zsh should have no trouble while busybox sh, fish, or any others. There’s no great way to detect what feature set the shell supports. Fixes #71625
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions