]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
build/ops: do_cmake.sh: get rid of which dependency
authorNathan Cutler <ncutler@suse.com>
Mon, 19 Feb 2018 14:13:15 +0000 (15:13 +0100)
committerNathan Cutler <ncutler@suse.com>
Mon, 23 Apr 2018 08:50:04 +0000 (10:50 +0200)
commit7a17722d455a16a64a0c52e9f75838ebeefa0258
treea072d66b0c88776bd912ac20ba5d5b90e108ac9e
parenta7908a9147819e8893c42eb5f9f1c612a1cbd801
build/ops: do_cmake.sh: get rid of which dependency

"which" is not available on minimal systems, whereas "type" is a shell builtin,
so the chances of the command "just working" are greater with type than with
which.

In other parts of Ceph build/ops we have replaced "which" with "type" to good
effect.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
do_cmake.sh