Fix "Fix handling of ZUUL_CHANGES"
We need quotes here in order to successfully detect empty strings. Change-Id: I02accd55ab946f771a533670a9f810409ef03b90
This commit is contained in:
parent
1f6fb5605b
commit
382a9db497
|
@ -83,7 +83,7 @@ cookbook_projects=""
|
|||
for cookbook_info in "${cookbooks[@]}"; do
|
||||
[[ $cookbook_info =~ openstack/([a-z-]*):.* ]]
|
||||
cookbook_name="${BASH_REMATCH[1]}"
|
||||
if [ -n $cookbook_name ]; then
|
||||
if [ -n "$cookbook_name" ]; then
|
||||
cookbook_projects+=" openstack/$cookbook_name"
|
||||
sed -i -e "s|github: [\"\']openstack/$cookbook_name[\"\']|path: '../$cookbook_name'|" Berksfile
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue