Commit 97fc283 1 parent 2c5dd41 commit 97fc283 Copy full SHA for 97fc283
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,10 @@ mv assets/glossary-*.css "glossary-$release_tag".min.css
35
35
# The command below makes `file://` URLs look like `http://example.com/...` ones.
36
36
# See also https://github.com/elm/core/blob/1.0.0/hints/1.md
37
37
sed -i \
38
- -e ' s! \([a-zA-Z0-9]\+([a-zA-Z0-9]\+\.location\.href\))\.a||! \1).a||\1.replace(/^file:\\/\\//, "http://example.com")).a||!' \
38
+ -e ' s! \([a-zA-Z0-9]\+(\$\? [a-zA-Z0-9]\+\.location\.href\))\.a||! \1).a||\1.replace(/^file:\\/\\//, "http://example.com")).a||!' \
39
39
" glossary-$release_tag " .min.js
40
40
41
- grep -q ' example\.com' " glossary-$release_tag " .min.js || fail ' Failed to apply Browser.application hack'
41
+ grep -q ' http:// example\.com' " glossary-$release_tag " .min.js || fail ' Failed to apply Browser.application hack'
42
42
43
43
for template in glossary empty; do
44
44
cat $template .html | \
You can’t perform that action at this time.
0 commit comments