Skip to content

Commit d320e60

Browse files
committed
Fix the export of $XLOCALEDIR to point to the correct place
Fixes #35
1 parent ed5feef commit d320e60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/bin/gpu-2404-provider-wrapper.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ __EGL_EXTERNAL_PLATFORM_CONFIG_DIRS=${__EGL_EXTERNAL_PLATFORM_CONFIG_DIRS:+$__EG
2323
DRIRC_CONFIGDIR=$( cd -- "$(dirname "$0")/../drirc.d" ; pwd -P )
2424
VK_LAYER_PATH=${VK_LAYER_PATH:+$VK_LAYER_PATH:}${SELF}/share/vulkan/implicit_layer.d/:${SELF}/share/vulkan/explicit_layer.d/
2525
XDG_DATA_DIRS=${XDG_DATA_DIRS:+$XDG_DATA_DIRS:}${SELF}/share
26-
XLOCALEDIR="${SELF}/share/X11/locale"
26+
XLOCALEDIR="$(realpath "${SELF}/../X11/locale")"
2727

2828
# These are in the default LD_LIBRARY_PATH, but in case the snap dropped it inadvertently
2929
if [ -d "/var/lib/snapd/lib/gl" ] && [[ ! ${LD_LIBRARY_PATH} =~ (^|:)/var/lib/snapd/lib/gl(:|$) ]]; then

0 commit comments

Comments
 (0)