Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Side by Side Diff: patch_vulcanize.sh

Issue 2513673005: Vulcanize Settings (Closed)
Patch Set: don't error on applied patch Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 #!/bin/bash
2
3 set -e
4
5 node_dir=$(dirname $(which vulcanize))/..
6 constants_file="$node_dir"/lib/node_modules/vulcanize/lib/constants.js
7
8 if ! [[ -f "$constants_file" ]]; then
9 echo "Error: File $constants_file not found" 1>&2
10 exit
11 fi
12
13 patch --forward --reject-file=- "$constants_file" <<'EOF'
14 16c16
15 < URL_TEMPLATE: '{{.*}}|\\[\\[.*\\]\\]',
16 ---
17 > URL_TEMPLATE: '{{.*}}|\\[\\[.*\\]\\]|\\$i18n[^{]*{[^}]*}',
18
19 EOF
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/settings/md_settings_ui.cc ('k') | third_party/polymer/v1_0/reproduce.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698