From 89f6d310f73a7e1c36e974128bfe1d0b7b7a2b61 Mon Sep 17 00:00:00 2001 From: Theodore Kisner Date: Thu, 21 Mar 2024 11:44:41 -0700 Subject: [PATCH] Fix sed expression on macos --- soconda.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soconda.sh b/soconda.sh index beee33e..77e6d18 100755 --- a/soconda.sh +++ b/soconda.sh @@ -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.