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
This commit is contained in:
parent
39000f90b7
commit
f0c3567740
|
@ -96,7 +96,7 @@ ENV PIP_TRUSTED_HOST=
|
||||||
ENV PIP_EXTRA_INDEX_URL=
|
ENV PIP_EXTRA_INDEX_URL=
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [[ -f /usr/etc/npmrc ]]; then \
|
RUN if [ -f /usr/etc/npmrc ]; then \
|
||||||
unlink /usr/etc/npmrc; \
|
unlink /usr/etc/npmrc; \
|
||||||
fi \
|
fi \
|
||||||
&& rm -f /etc/npmrc
|
&& rm -f /etc/npmrc
|
||||||
|
|
Loading…
Reference in New Issue