You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Xu Yaning (JIRA)" <ji...@apache.org> on 2015/11/12 06:44:10 UTC
[jira] [Commented] (DIRKRB-414) Fix ubuntu shell not recognize '['
in kdcinit.sh
[ 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)