To avoid "set: Illegal option -o pipefail", delete "set +o pipefail".
This commit is contained in:
parent
6ece94c718
commit
0e93a3a300
|
@ -6,7 +6,6 @@ steps:
|
||||||
- name: Modify Amazon Links
|
- name: Modify Amazon Links
|
||||||
image: cibuilds/hugo:0.62.1
|
image: cibuilds/hugo:0.62.1
|
||||||
commands:
|
commands:
|
||||||
- set +o pipefail
|
|
||||||
- grep -l -r ecx.images-amazon.com content/ | sort | uniq | xargs -t --no-run-if-empty sed -ie "s/http:\/ / ecx.images-amazon.com/https:\/ / images-na.ssl-images-amazon.com/g"
|
- grep -l -r ecx.images-amazon.com content/ | sort | uniq | xargs -t --no-run-if-empty sed -ie "s/http:\/ / ecx.images-amazon.com/https:\/ / images-na.ssl-images-amazon.com/g"
|
||||||
- grep -l -r "http://www.amazon.co.jp/exec" content/ | sort | uniq | xargs -t --no-run-if-empty sed -i -e "s/http:\/ / www.amazon.co.jp\/exec/https:\/ / www.amazon.co.jp\/exec/g"
|
- grep -l -r "http://www.amazon.co.jp/exec" content/ | sort | uniq | xargs -t --no-run-if-empty sed -i -e "s/http:\/ / www.amazon.co.jp\/exec/https:\/ / www.amazon.co.jp\/exec/g"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue