summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2021-05-04 11:30:28 +0200
committerMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2021-05-04 11:30:28 +0200
commitf0c3567740be342355b39a7c7d3ca341d5a4ec0f (patch)
tree02cde846db2c799c8679153faee9df10974f500c /tests
parent39000f90b78e80b68cd32e006ba72c76df7e02a2 (diff)
downloadkolla-f0c3567740be342355b39a7c7d3ca341d5a4ec0f.tar.gz
kolla-f0c3567740be342355b39a7c7d3ca341d5a4ec0f.zip
CI: drop bashism from template overrides
[[ is bash only In many distributions /bin/sh == bash but not in Debian and derived where it is dash (very simple POSIX shell). Change-Id: I2b084ea78b236623b174473f411bae04e624a3e9
Diffstat (limited to 'tests')
-rw-r--r--tests/templates/template_overrides.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/templates/template_overrides.j2 b/tests/templates/template_overrides.j2
index 6be8b794b..53ad4f92b 100644
--- a/tests/templates/template_overrides.j2
+++ b/tests/templates/template_overrides.j2
@@ -96,7 +96,7 @@ ENV PIP_TRUSTED_HOST=
ENV PIP_EXTRA_INDEX_URL=
{% endif %}
-RUN if [[ -f /usr/etc/npmrc ]]; then \
+RUN if [ -f /usr/etc/npmrc ]; then \
unlink /usr/etc/npmrc; \
fi \
&& rm -f /etc/npmrc