]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
vstart: fix error when getting CMake variables with the same prefix 31962/head
authorKiefer Chang <kiefer.chang@suse.com>
Tue, 3 Dec 2019 06:03:21 +0000 (14:03 +0800)
committerKiefer Chang <kiefer.chang@suse.com>
Tue, 3 Dec 2019 06:15:33 +0000 (14:15 +0800)
commitf4c8cc1293db50731b750279d5956fb4578c2942
tree0eb6f6560cf919e754ead0b6483af1c58bc50bf2
parent080d5506adbf89c3fbb595b148c9773a34d5e158
vstart: fix error when getting CMake variables with the same prefix

The function fails to work when there are multiple variables starts with
the same prefix. e.g.

- WITH_RBD
- WITH_RBD_RGW

Fixes: https://tracker.ceph.com/issues/43095
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
src/vstart.sh