]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commit
build_utils.sh: fix regressions introduced by bac3e963a56 1619/head
authorKefu Chai <kchai@redhat.com>
Wed, 15 Jul 2020 16:24:33 +0000 (00:24 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 15 Jul 2020 16:51:07 +0000 (00:51 +0800)
commit260b24a651eb8557d00bc877d5314f152cd1b7e0
treeca0bb980cf261ab7738239737e5f7339ff2bf5a4
parent37ce9a7d994f1f7d777559906e3a2cebdda4207f
build_utils.sh: fix regressions introduced by bac3e963a56

* quote parameter with spaces in it with ""
* fix the variable name
* use `find` for collecting the patches, because if glob fails
  the patten won't be replaced by the matched file names by shell
* add the closing "}"

Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph-build/build/build_rpm
ceph-dev-build/build/build_rpm
scripts/build_utils.sh