Skip to content

Commit

Permalink
Merge pull request #31 from near/make_script_indempodent
Browse files Browse the repository at this point in the history
fix: update bin/replace_all to be idempotent
  • Loading branch information
charleslavon authored Jul 1, 2024
2 parents 1a8e001 + e966836 commit af5030a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/replace_all.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash

./bin/search_and_replace.sh public\/blog "\\s\/wp\-content" "https\:\/\/pages\.near\.org\/wp\-content"
./bin/search_and_replace.sh public\/blog "\\/wp\-content" "https\:\/\/pages\.near\.org\/wp\-content"
./bin/search_and_replace.sh public\/blog "\https\:\/\/pages\.near\.orghttps" "https"
./bin/search_and_replace.sh public\/blog "\=\"\/wp\-content" "\=\"https\:\/\/pages\.near\.org\/wp-content"
./bin/search_and_replace.sh public\/blog "\=\"\/wp\-includes" "\=\"https\:\/\/pages\.near\.org\/wp\-includes"
./bin/search_and_replace.sh public\/blog "\?paged\=" "page\/"
Expand Down

0 comments on commit af5030a

Please sign in to comment.