Skip to content

Commit e757980

Browse files
[gettext] fix export
this_dir is not set, it is a local variable used in AppRun script APPDIR is what we need
1 parent 81dccdb commit e757980

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

gettext/linuxdeploy-plugin-gettext.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,7 @@ echo "Installing AppRun hook"
3737
set -x
3838
mkdir -p "$appdir"/apprun-hooks
3939
cat > "$appdir"/apprun-hooks/linuxdeploy-plugin-gettext.sh <<\EOF
40-
export TEXTDOMAINDIR="$this_dir"/usr/share/locale:"$TEXTDOMAINDIR"
40+
#! /bin/bash
41+
42+
export TEXTDOMAINDIR="$APPDIR"/usr/share/locale:"$TEXTDOMAINDIR"
4143
EOF

0 commit comments

Comments
 (0)