]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
install-deps.sh: do not echo version of git
authorKefu Chai <kchai@redhat.com>
Wed, 18 Dec 2019 11:58:04 +0000 (19:58 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 19 Dec 2019 03:52:56 +0000 (11:52 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
install-deps.sh

index fb9d28f13b6d9d97d1b3fd630192607618509af5..041471f3f515afcaf4709fca9e43416a6c3589bd 100755 (executable)
@@ -526,5 +526,5 @@ if $for_make_check; then
     done
     rm -rf $top_srcdir/install-deps-python3
     rm -rf $XDG_CACHE_HOME
-    git --version || (echo "Dashboard uses git to pull dependencies." ; false)
+    type git > /dev/null || (echo "Dashboard uses git to pull dependencies." ; false)
 fi