remove grep -q, not supported on solaris, from cdist-env

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-03-16 11:33:01 +01:00
parent e0520edb10
commit b8a0fce4fa

View file

@ -34,7 +34,7 @@ cd "$__cdist_abs_mydir/../doc/man"
NEWMANPATH="$(pwd -P):$MANPATH" NEWMANPATH="$(pwd -P):$MANPATH"
# Match csh, tcsh to handle differently # 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 PATH $NEWPATH \;
echo setenv MANPATH $NEWMANPATH echo setenv MANPATH $NEWMANPATH
else else