Project

General

Profile

Bug #1407

kdcmgr use GNU gettext instead Sun gettext

Added by Igor Vasilyev almost 8 years ago. Updated almost 8 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Start date:
2011-08-24
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

Package system/security/kerberos-5

# kdcmgr 

Usage: usage [ -a admprincipal ] [ -e enctype ] [ -h ]
        [ -p pwfile ] [ -r realm ] subcommand

gettext: invalid option -- a
Try `gettext --help' for more information.

gettext: invalid option -- :
Try `gettext --help' for more information.

gettext: invalid option -- :
Try `gettext --help' for more information.

gettext: invalid option -- p
Try `gettext --help' for more information.

gettext: invalid option -- r
Try `gettext --help' for more information.

        where 'subcommand' is one of the following:

        create [ master ]
        create [ -m masterkdc ] slave
        destroy
        status

------
# printf "\t$(gettext "-a: Create non-default admin principal.")\n" 
gettext: invalid option -- a
Try `gettext --help' for more information.

# printf "\t$(/usr/bin/gettext "-a: Create non-default admin principal.")\n" 
        -a: Create non-default admin principal.

History

#1

Updated by Yuri Pankov almost 8 years ago

It uses whichever gettext comes first in PATH, so using hardcoded /usr/bin/gettext looks like a solution to me.

Also available in: Atom PDF