If the volume vendor has spaces in it, for example “Open Source”, we
need to have quotes around the uses of the variables or the behavior
will not be as expected.
Change-Id: Ie1e99b6d6de2313e5b5b5a5d3057c136c9b34601
| ... | ... |
@@ -372,7 +372,7 @@ function configure_tempest {
|
| 372 | 372 |
fi |
| 373 | 373 |
|
| 374 | 374 |
if [ $TEMPEST_VOLUME_DRIVER != "default" -o \ |
| 375 |
- $TEMPEST_VOLUME_VENDOR != $TEMPEST_DEFAULT_VOLUME_VENDOR ]; then |
|
| 375 |
+ "$TEMPEST_VOLUME_VENDOR" != "$TEMPEST_DEFAULT_VOLUME_VENDOR" ]; then |
|
| 376 | 376 |
iniset $TEMPEST_CONFIG volume vendor_name "$TEMPEST_VOLUME_VENDOR" |
| 377 | 377 |
fi |
| 378 | 378 |
if [ $TEMPEST_VOLUME_DRIVER != "default" -o \ |