neutron-base: remove bashisms
Use [ instead of [[. This will solve the following issue: Change-Id: I1153a5146ca8b08dd1ad732b60d8d4bce8e060ab INFO:kolla.common.utils.neutron-base:/bin/sh: 1: [[: not found INFO:kolla.common.utils.neutron-base:/bin/sh: 1: [[: not found INFO:kolla.common.utils.neutron-base:/bin/sh: 1: [[: not found INFO:kolla.common.utils.neutron-base:/bin/sh: 1: [[: not found INFO:kolla.common.utils.neutron-base:/bin/sh: 1: [[: not found INFO:kolla.common.utils.neutron-base:/bin/sh: 1: [[: not found INFO:kolla.common.utils.neutron-base:
This commit is contained in:
parent
649094f9d2
commit
441064147a
@ -144,7 +144,7 @@ RUN ln -s neutron-base-source/* neutron \
|
||||
&& if [ "$(ls /plugins)" ]; then \
|
||||
{{ macros.install_pip(neutron_base_plugins_pip_packages) }} \
|
||||
&& for neutron_plugins in $(ls /plugins); do \
|
||||
if [[ -d "/plugins/$neutron_plugins/etc/neutron/rootwrap.d" ]]; then \
|
||||
if [ -d "/plugins/$neutron_plugins/etc/neutron/rootwrap.d" ]; then \
|
||||
cp /plugins/$neutron_plugins/etc/neutron/rootwrap.d/* /etc/neutron/rootwrap.d; \
|
||||
fi; \
|
||||
done; \
|
||||
|
Loading…
Reference in New Issue
Block a user