]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
install-deps.sh: check if have access to stdout 19645/head
authorKefu Chai <kchai@redhat.com>
Thu, 28 Dec 2017 02:18:11 +0000 (10:18 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 30 Dec 2017 15:20:07 +0000 (23:20 +0800)
commit7bb8f66cf4e2519c33f1078c1be7485f9fe35a87
tree0c665ba8f672bd236fd8adb8ec19f02fcd884970
parent85a1fa68ab822c00c531c18deccb182fb81b2934
install-deps.sh: check if have access to stdout

$- is "hB" if launched via command line, and it is "himBH" only when
we are actually *in* an interactive shell. so checking "test -t 1" is
what we want.

Signed-off-by: Kefu Chai <kchai@redhat.com>
install-deps.sh