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