Skip to content

Commit

Permalink
fix(script): fix sed command for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarcoatl committed Apr 4, 2024
1 parent a5f0dce commit f207424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/find-replace.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ keys=(

for key in "${keys[@]}"
do
find _data/formula -name "*.json" -type f -exec sed -i '' "s/\"$key\"/\"core_$key\"/g" {} +
find _data/formula -name "*.json" -type f -exec sed -i "s/\"$key\"/\"core_$key\"/g" {} +
done

0 comments on commit f207424

Please sign in to comment.