[ 
https://issues.apache.org/jira/browse/DIRKRB-414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15001724#comment-15001724
 ] 

Xu Yaning commented on DIRKRB-414:
----------------------------------

sh supports [. == works in Bash built-ins, and a single = is required by POSIX 
version of [. For Centos, the symlink /bin/sh points to /bin/bash. However, for 
Ubuntu, it  points /bin/dash. 

> Fix ubuntu shell not recognize '[' in kdcinit.sh 
> -------------------------------------------------
>
>                 Key: DIRKRB-414
>                 URL: https://issues.apache.org/jira/browse/DIRKRB-414
>             Project: Directory Kerberos
>          Issue Type: Improvement
>    Affects Versions: 1.0.0-RC2
>         Environment: Ubuntu
>            Reporter: Xu Yaning
>
> When kdcinit.sh is run on ubuntu, it reports that
> {{bin/kdcinit.sh: 22: [: Xconf: unexpected operator}}
> . However, kdcinit.sh still works well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to