From b8a0fce4fa63a37c8cd0c39ec0f1bb21c06acb2c Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 16 Mar 2011 11:33:01 +0100 Subject: [PATCH] remove grep -q, not supported on solaris, from cdist-env Signed-off-by: Nico Schottelius --- bin/cdist-env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/cdist-env b/bin/cdist-env index 3b8e1645..3a477e85 100755 --- a/bin/cdist-env +++ b/bin/cdist-env @@ -34,7 +34,7 @@ cd "$__cdist_abs_mydir/../doc/man" NEWMANPATH="$(pwd -P):$MANPATH" # Match csh, tcsh to handle differently -if $(echo $shell_binary | grep -q 'csh$'); then +if [ "$(echo $shell_binary | grep 'csh$')" ]; then echo setenv PATH $NEWPATH \; echo setenv MANPATH $NEWMANPATH else