Fix sed command for mac and linux (#9286)
This commit is contained in:
parent
d61191db40
commit
fd5f8a8046
|
@ -14,7 +14,7 @@ else
|
|||
fi
|
||||
|
||||
set -x
|
||||
find html/ -name \*.html -exec sed -i '' "s/LATEST_SOLANA_RELEASE_VERSION/$LATEST_SOLANA_RELEASE_VERSION/g" {} \;
|
||||
find html/ -name \*.html -exec sed -i="" "s/LATEST_SOLANA_RELEASE_VERSION/$LATEST_SOLANA_RELEASE_VERSION/g" {} \;
|
||||
if [[ -n $CI ]]; then
|
||||
find src/ -name \*.md -exec sed -i '' "s/LATEST_SOLANA_RELEASE_VERSION/$LATEST_SOLANA_RELEASE_VERSION/g" {} \;
|
||||
find src/ -name \*.md -exec sed -i="" "s/LATEST_SOLANA_RELEASE_VERSION/$LATEST_SOLANA_RELEASE_VERSION/g" {} \;
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue