summaryrefslogtreecommitdiffstats
path: root/scripts/make_locale.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/make_locale.sh')
-rwxr-xr-xscripts/make_locale.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/make_locale.sh b/scripts/make_locale.sh
index bc1950e4d..9f741df52 100755
--- a/scripts/make_locale.sh
+++ b/scripts/make_locale.sh
@@ -63,7 +63,7 @@ add_locale() {
usage
fi
- SYSROOT_USR=`ptxd_get_sysroot_usr`
+ SYSROOT_USR="${PTXDIST_SYSROOT_TOOLCHAIN}/usr"
[ ! -d ${SYSROOT_USR} ] && { echo "Toolchain sysroot dir not found"; exit 1; }
[ ! -d ${SYSROOT_USR}/share/i18n ] && { echo "I18NPATH source dir not found"; exit 1; }