New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export GI repository path #3

Merged
merged 1 commit into from Jul 11, 2016
Jump to file or symbol
Failed to load files and symbols.
+6 −0
Diff settings

Always

Just for now

@@ -11,6 +11,9 @@ if [ $needs_update = true ]; then
$SNAP/usr/lib/$ARCH/glib-2.0/gio-querymodules $GIO_MODULE_DIR
fi
# GI repository
export GI_TYPELIB_PATH=$SNAP/usr/lib/girepository-1.0:$SNAP/usr/lib/$ARCH/girepository-1.0
# Keep an array of data dirs, for looping through them
IFS=':' read -r -a data_dirs_array <<< "$XDG_DATA_DIRS"
View
@@ -23,6 +23,9 @@ if [ $needs_update = true ]; then
$SNAP/usr/lib/$ARCH/glib-2.0/gio-querymodules $GIO_MODULE_DIR
fi
# GI repository
export GI_TYPELIB_PATH=$SNAP/usr/lib/girepository-1.0:$SNAP/usr/lib/$ARCH/girepository-1.0
if [ "$USE_gtk3" = true ]; then
export GTK_PATH=$SNAP/usr/lib/$ARCH/gtk-3.0
else
ProTip! Use n and p to navigate between commits in a pull request.