Skip to content

Commit

Permalink
sed, no! perl, ok, fine.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Osheroff committed Nov 24, 2015
1 parent 5ce26ef commit 2c159a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/bump
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ then
echo "Couldn't get CURRENT_REV" && exit 1
fi

git grep -lF $CURRENT_REV | grep -v search_index.json | xargs sed -i -e"s|$CURRENT_REV|$1|g"
git grep -lF $CURRENT_REV | grep -v search_index.json | grep -v CHANGELOG.md | xargs perl -i -npe "s|$CURRENT_REV|$1|g"
docs/build

0 comments on commit 2c159a3

Please sign in to comment.