]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
script/run-make.sh: quote targets with double quote 40236/head
authorKefu Chai <kchai@redhat.com>
Fri, 19 Mar 2021 11:23:09 +0000 (19:23 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 19 Mar 2021 11:25:25 +0000 (19:25 +0800)
commitb37ef49f227ffe6a72c7fe755391142855782d2b
tree1bfcd7f359c2ed63f4b53d553d6f9d7a91cf3503
parent151719590dc30bfe9957460dc79a25c7c2aef0cb
script/run-make.sh: quote targets with double quote

in
ceph-build/ceph-perf-pull-requests/config/definitions/ceph-perf-pull-requests.yml,
we pass "vstart-base crimson-osd" as the targets argument, but the
build() function in ceph/src/script/run-make.sh fails to quote them, so
they are expanded into two argument of `test -n`. hence it breaks like

src/script/run-make.sh: line 124: test: vstart-base: binary operator expected
make will run with option(s) -j40
Unknown argument vstart-base
Unknown argument crimson-osd

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/script/run-make.sh