mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-13 13:53:53 -05:00
Fix argument that cannot be sent to bash via env
/usr/bin/env seems to have problems with arguments to bash on some platforms. To bypass this, use set -e instead.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash -e
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
read_version_file() {
|
||||
egrep -m 1 '[^[:space:]]' "$1"
|
||||
|
||||
Reference in New Issue
Block a user