Skip to content
This repository was archived by the owner on Oct 10, 2023. It is now read-only.

Commit 3febe87

Browse files
author
Alexander Lakhin
committed
Don't try to use nls/gettext utilities when performing installcheck
1 parent 3ad68af commit 3febe87

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests_install/make_installcheck.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ disconfopts=""
103103
confopts="python_majorversion=`\"$PYTHONHOME\\python\" -c 'import sys; print(sys.version_info.major)'`"
104104
opts=`"$PGPATH/bin/pg_config" --configure | grep -Eo "'[^']*'|[^' ]*" | sed -e "s/^'//" -e "s/'$//"`
105105
while read -r opt; do
106-
case "$opt" in --with-*=*) ;; --with-* | --enable-*) opt="${opt/#--/}"; opt="${opt//-/_}" confopts="$confopts $opt=yes ";; esac;
106+
case "$opt" in --with-*=* | --enable-nls*) ;; --with-* | --enable-*) opt="${opt/#--/}"; opt="${opt//-/_}" confopts="$confopts $opt=yes ";; esac;
107107
case "$opt" in --disable-dependency-tracking | --disable-rpath) ;; --disable-*) disconfopts="$disconfopts $opt" ;; esac;
108108
done <<< "$opts";
109109
echo "confopts: $confopts"

tests_install/make_installcheck.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ fi
141141
disconfopts=""
142142
opts=`$1/bin/pg_config --configure | grep -Eo "'[^']*'|[^' ]*" | sed -e "s/^'//" -e "s/'$//"`
143143
while read -r opt; do
144-
case "$opt" in --with-*=*) ;; --with-* | --enable-*) opt="${opt/#--/}"; opt="${opt//-/_}" confopts="$confopts $opt=yes ";; esac;
144+
case "$opt" in --with-*=* | --enable-nls*) ;; --with-* | --enable-*) opt="${opt/#--/}"; opt="${opt//-/_}" confopts="$confopts $opt=yes ";; esac;
145145
case "$opt" in --disable-dependency-tracking | --disable-rpath) ;; --disable-*) disconfopts="$disconfopts $opt" ;; esac;
146146
done <<< "$opts";
147147

0 commit comments

Comments
 (0)