Add -o param to unzip in polylint_test.sh
Previously, there were cases when the polylint bazel test would fail due to the unzip command failing. This was encountered locally, but may occur any time polylint_test.sh was run on the same bazel build twice. The bower components would fail to unzip and the script would terminate with an error. Adding the -o param forces overwrites of existing files, if they exist. Change-Id: I931b5537a473a866d580815808d5fdbe16f1ca65
This commit is contained in:
parent
cc0cbd0149
commit
e77043e342
@ -15,6 +15,6 @@ if [[ -z "$polylint_bin" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
unzip polygerrit-ui/polygerrit_components.bower_components.zip -d polygerrit-ui/app
|
||||
unzip -o polygerrit-ui/polygerrit_components.bower_components.zip -d polygerrit-ui/app
|
||||
|
||||
${polylint_bin} --root polygerrit-ui/app --input elements/gr-app.html --b 'bower_components'
|
Loading…
Reference in New Issue
Block a user