diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-10-19 23:30:43 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-10-19 23:30:43 +0000 |
commit | e40a0d2113bfeb5018409ed25e9711e6da7d994b (patch) | |
tree | 49719c577bd5d3ba4da545a4a184a6a5326eee8d /intl/tst-gettext.sh | |
parent | 728e272aec1b217bce32f1d75ecefb888e67b678 (diff) | |
download | glibc-e40a0d2113bfeb5018409ed25e9711e6da7d994b.tar.gz glibc-e40a0d2113bfeb5018409ed25e9711e6da7d994b.tar.xz glibc-e40a0d2113bfeb5018409ed25e9711e6da7d994b.zip |
Use $(run-program-prefix) in more shell script tests.
Diffstat (limited to 'intl/tst-gettext.sh')
-rwxr-xr-x | intl/tst-gettext.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/intl/tst-gettext.sh b/intl/tst-gettext.sh index a3ac377987..a3bb0a61d7 100755 --- a/intl/tst-gettext.sh +++ b/intl/tst-gettext.sh @@ -20,8 +20,9 @@ set -e common_objpfx=$1 -objpfx=$2 -malloc_trace=$3 +run_program_prefix=$2 +objpfx=$3 +malloc_trace=$4 LC_ALL=C export LC_ALL @@ -53,7 +54,7 @@ export LOCPATH # Now run the test. MALLOC_TRACE=$malloc_trace LOCPATH=${objpfx}localedir:$LOCPATH \ -${common_objpfx}elf/ld.so --library-path $common_objpfx \ +${run_program_prefix} \ ${objpfx}tst-gettext > ${objpfx}tst-gettext.out ${objpfx}domaindir exit $? |