forked from ungleich-public/cdist
remove grep -q, not supported on solaris, from cdist-env
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
e0520edb10
commit
b8a0fce4fa
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue