Skip to content

Commit 135d5a7

Browse files
committed
Set locale in EESSI-extend to one known to exist under $EPREFIX
1 parent 0c6bf77 commit 135d5a7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

EESSI-extend-easybuild.eb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,13 @@ if mode() == "unload" or mode() == "dependencyCk" or convertToCanonical(easybuil
235235
setenv ("EASYBUILD_SEARCH_PATH_CPP_HEADERS", "include_paths")
236236
end
237237
end
238+
239+
-- Avoid locale related problems by (temporarily) overwriting the locale with one we know exists ('locale -a')
240+
pushenv ("LANG", "C.utf8")
241+
pushenv ("LC_ALL", "C.utf8")
242+
pushenv ("LC_CTYPE", "C.utf8")
243+
pushenv ("LC_MESSAGES", "C.utf8")
244+
238245
"""
239246

240247
moduleclass = 'devel'

0 commit comments

Comments
 (0)