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-gettext2.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-gettext2.sh')
-rw-r--r-- | intl/tst-gettext2.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/intl/tst-gettext2.sh b/intl/tst-gettext2.sh index 2d9c52fef9..833b97986c 100644 --- a/intl/tst-gettext2.sh +++ b/intl/tst-gettext2.sh @@ -20,7 +20,8 @@ set -e common_objpfx=$1 -objpfx=$2 +run_program_prefix=$2 +objpfx=$3 LC_ALL=C export LC_ALL @@ -66,7 +67,7 @@ LOCPATH=${objpfx}domaindir export LOCPATH # Now run the test. -${common_objpfx}elf/ld.so --library-path $common_objpfx \ +${run_program_prefix} \ ${objpfx}tst-gettext2 > ${objpfx}tst-gettext2.out ${objpfx}domaindir && cmp ${objpfx}tst-gettext2.out - <<EOF String1 - Lang1: 1st string |