From 933c59e1eb6cccbcf1ec886baa5d055c11714995 Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Mon, 16 Jul 2012 14:01:55 -0700 Subject: [PATCH] compat: send which output to /dev/null for bin/get-compat-trees Minor cosmetic fix on checking if git is installed. Signed-off-by: Luis R. Rodriguez --- bin/get-compat-trees | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/get-compat-trees b/bin/get-compat-trees index 25425c7aae14..56ce2290e408 100755 --- a/bin/get-compat-trees +++ b/bin/get-compat-trees @@ -29,7 +29,7 @@ GIT_TREES="$GIT_TREES git://github.com/mcgrof/compat-wireless.git" LINUX_GIT="git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git" -which git +which git 2>&1 > /dev/null if [[ $? -ne 0 ]]; then echo -e "You need to install ${PURPLE}git${NORMAL}" exit 1 -- 2.30.2