Skip to content

Commit 5d3870f

Browse files
committed
ci/travis/conda/setup.sh: try to fix for MacOS
1 parent 4e27317 commit 5d3870f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ci/travis/conda/setup.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ patch -p1 < ../ci/travis/conda/libgdal-adbc.patch
2323
patch -p1 < ../ci/travis/conda/muparser.patch
2424

2525
# Patch version = "X.Y.Z" to "X.Y.99"
26-
sed -i -E 's/set version = "([0-9]+)\.([0-9]+)\.([0-9]+)"/set version = "\1.\2.99"/' recipe/meta.yaml
26+
sed 's/version = "\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)"/version = "\1.\2.99"/' < recipe/recipe.yaml > recipe.yaml
27+
mv recipe.yaml recipe/recipe.yaml
2728

2829
cat > recipe/recipe_clobber.yaml <<EOL
2930
source:

0 commit comments

Comments
 (0)