Skip to content

Commit

Permalink
Fix sed expression on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
tskisner committed Mar 21, 2024
1 parent 516e240 commit 89f6d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion soconda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ python_version=$(cat "${confdir}/packages_conda.txt" | grep 'python=')

# Get just the major and minor version to use when specifying the
# python build variant during package build.
python_major_minor=$(echo ${python_version} | sed -e 's/python=\(3\.[[:digit:]]\+\).*/\1/')
python_major_minor=$(echo ${python_version} | sed -E 's/python=(3\.[[:digit:]]+).*/\1/')

# Check if this env exists or not.
# env_check would be empty if it does not exist.
Expand Down

0 comments on commit 89f6d31

Please sign in to comment.