summaryrefslogtreecommitdiff
path: root/intl/tst-gettext.sh
diff options
context:
space:
mode:
Diffstat (limited to 'intl/tst-gettext.sh')
-rwxr-xr-xintl/tst-gettext.sh7
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 $?