summaryrefslogtreecommitdiff
path: root/intl/tst-gettext5.sh
diff options
context:
space:
mode:
Diffstat (limited to 'intl/tst-gettext5.sh')
-rwxr-xr-xintl/tst-gettext5.sh11
1 files changed, 4 insertions, 7 deletions
diff --git a/intl/tst-gettext5.sh b/intl/tst-gettext5.sh
index bbc58e796f..8c8d2170e4 100755
--- a/intl/tst-gettext5.sh
+++ b/intl/tst-gettext5.sh
@@ -22,16 +22,14 @@
# 02111-1307 USA.
common_objpfx=$1
-objpfx=$2
+run_program_prefix=$2
+objpfx=$3
LC_ALL=C
export LC_ALL
-# Generate the test data.
-test -d ${objpfx}domaindir || mkdir ${objpfx}domaindir
# Create the domain directories.
-test -d ${objpfx}domaindir/de_DE || mkdir ${objpfx}domaindir/de_DE
-test -d ${objpfx}domaindir/de_DE/LC_MESSAGES || mkdir ${objpfx}domaindir/de_DE/LC_MESSAGES
+mkdir -p ${objpfx}domaindir/de_DE/LC_MESSAGES
# Populate them.
msgfmt -o ${objpfx}domaindir/de_DE/LC_MESSAGES/codeset.mo tstcodeset.po
@@ -40,7 +38,6 @@ export GCONV_PATH
LOCPATH=${common_objpfx}localedata
export LOCPATH
-${common_objpfx}elf/ld.so --library-path $common_objpfx \
-${objpfx}tst-gettext5 > ${objpfx}tst-gettext5.out
+${run_program_prefix} ${objpfx}tst-gettext5 > ${objpfx}tst-gettext5.out
exit $?