Add OGR set field bindings
[guile-gdal] / pre-inst-env.in
1 #!/bin/sh
2
3 # guile-gdal --- FFI bindings for gdal
4 # Copyright (c) 2021 Ahmet Artu Yildirim <ahmet@artulab.com>
5 #
6 # This file is part of guile-gdal.
7 #
8 # Guile-gdal is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU Lesser General Public License as
10 # published by the Free Software Foundation; either version 3 of the
11 # License, or (at your option) any later version.
12 #
13 # Guile-gdal is distributed in the hope that it will be useful, but
14 # WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 # General Public License for more details.
17 #
18 # You should have received a copy of the GNU Lesser General Public
19 # License along with guile-gdal.  If not, see
20 # <http://www.gnu.org/licenses/>.
21
22 abs_top_srcdir="`cd "@abs_top_srcdir@" > /dev/null; pwd`"
23 abs_top_builddir="`cd "@abs_top_builddir@" > /dev/null; pwd`"
24
25 GUILE_LOAD_COMPILED_PATH="$abs_top_builddir${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH"
26 GUILE_LOAD_PATH="$abs_top_builddir:$abs_top_srcdir${GUILE_LOAD_PATH:+:}:$GUILE_LOAD_PATH"
27 export GUILE_LOAD_COMPILED_PATH GUILE_LOAD_PATH
28
29 PATH="$abs_top_builddir:$PATH"
30 export PATH
31
32 exec "$@"