1 diff --git a/gettext-runtime/src/gettext.sh.in b/gettext-runtime/src/gettext.sh.in
2 index 1dfa3bb..d6ef8a8 100644
3 --- a/gettext-runtime/src/gettext.sh.in
4 +++ b/gettext-runtime/src/gettext.sh.in
6 # looks up the translation of MSGID and substitutes shell variables in the
9 - gettext "$1" | (export PATH `envsubst --variables "$1"`; envsubst "$1")
10 + @out@/bin/gettext "$1" | (export PATH `@out@/bin/envsubst --variables "$1"`; @out@/bin/envsubst "$1")
13 # eval_ngettext MSGID MSGID-PLURAL COUNT
14 # looks up the translation of MSGID / MSGID-PLURAL for COUNT and substitutes
15 # shell variables in the result.
17 - ngettext "$1" "$2" "$3" | (export PATH `envsubst --variables "$1 $2"`; envsubst "$1 $2")
18 + @out@/bin/ngettext "$1" "$2" "$3" | (export PATH `@out@/bin/envsubst --variables "$1 $2"`; @out@/bin/envsubst "$1 $2")
21 # Note: This use of envsubst is much safer than using the shell built-in 'eval'