summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2017-08-14 22:29:44 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2017-08-14 22:31:13 +0100
commita4d08006734f5c3309dd31b87b05d89f0fa492a0 (patch)
treeca2995907bbb08d0c1f8f1fd2db96e65efeb36a3 /build-aux
parent49d0b4ccb8bbd14df7033a8b9e078faf7f91cd71 (diff)
downloadgtk+-a4d08006734f5c3309dd31b87b05d89f0fa492a0.tar.gz
build: Fix post-install script
Use the appropriate variable when expanding the input method modules path.
Diffstat (limited to 'build-aux')
-rwxr-xr-xbuild-aux/meson/post-install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build-aux/meson/post-install.sh b/build-aux/meson/post-install.sh
index a59d7d5c66..c7390fae9b 100755
--- a/build-aux/meson/post-install.sh
+++ b/build-aux/meson/post-install.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-gtk_version=$1
+gtk_api_version=$1
gtk_abi_version=$2
gtk_libdir=$3
gtk_datadir=$4
@@ -17,5 +17,5 @@ if [ -z "$DESTDIR" ]; then
gtk-update-icon-cache -q -t -f ${gtk_datadir}/icons/hicolor
echo Updating input method modules cache...
- gtk4-query-immodules > ${gtk_libdir}/gtk-${version}/${gtk_abi_version}/immodules.cache
+ gtk4-query-immodules > ${gtk_libdir}/gtk-${gtk_api_version}/${gtk_abi_version}/immodules.cache
fi