Commit 928d21e1 authored by Boris Yumankulov's avatar Boris Yumankulov Committed by Vitaly Lipatov

epm: Fixed disclosure of variables if there is no gettext (eterbug #17278)

parent 7a8db4eb
...@@ -712,7 +712,8 @@ Popular commands: ...@@ -712,7 +712,8 @@ Popular commands:
if [ -z "$epm_cmd" ] ; then if [ -z "$epm_cmd" ] ; then
print_version >&2 print_version >&2
echo >&2 echo >&2
fatstr="$(eval_gettext 'Unrecognized command in '"$*" 'arg(s)')" args="$*"
fatstr=$(eval_gettext "Unrecognized command in \$args arg(s)")
if [ -z "$*" ] ; then if [ -z "$*" ] ; then
fatstr=$(eval_gettext "That program needs be running with some command") fatstr=$(eval_gettext "That program needs be running with some command")
print_short_help >&2 print_short_help >&2
......
...@@ -1112,7 +1112,7 @@ if [ -d "$TEXTDOMAINDIR" ] && is_command gettext.sh ; then ...@@ -1112,7 +1112,7 @@ if [ -d "$TEXTDOMAINDIR" ] && is_command gettext.sh ; then
else else
eval_gettext() eval_gettext()
{ {
echo -n $@ eval "echo -n \"$@\""
} }
fi fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment