Skip to content

Commit 1366332

Browse files
hrwmarkgoddard
authored andcommitted
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 (cherry picked from commit f0c3567)
1 parent 294f092 commit 1366332

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/templates/template_overrides.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ ENV PIP_TRUSTED_HOST=
8383
ENV PIP_EXTRA_INDEX_URL=
8484
{% endif %}
8585

86-
RUN if [[ -f /usr/etc/npmrc ]]; then \
86+
RUN if [ -f /usr/etc/npmrc ]; then \
8787
unlink /usr/etc/npmrc; \
8888
fi \
8989
&& rm -f /etc/npmrc

0 commit comments

Comments
 (0)