]> git.jsancho.org Git - guile-click.git/blob - pre-inst-env.in
Prompt for values
[guile-click.git] / pre-inst-env.in
1 #!/bin/sh
2
3 # Click --- Command Line Interface Creation Kit for GNU Guile
4 # Copyright © 2021 Javier Sancho <jsf@jsancho.org>
5 #
6 # This file is part of Click.
7 #
8 # Click is free software; you can redistribute it and/or modify it
9 # under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 3 of the License, or
11 # (at your option) any later version.
12 #
13 # Click is distributed in the hope that it will be useful, but WITHOUT
14 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15 # or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
16 # License for more details.
17 #
18 # You should have received a copy of the GNU General Public License
19 # along with Click.  If not, see <http://www.gnu.org/licenses/>.
20
21 abs_top_srcdir="`cd "@abs_top_srcdir@" > /dev/null; pwd`"
22 abs_top_builddir="`cd "@abs_top_builddir@" > /dev/null; pwd`"
23
24 GUILE_LOAD_COMPILED_PATH="$abs_top_builddir${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH"
25 GUILE_LOAD_PATH="$abs_top_builddir:$abs_top_srcdir${GUILE_LOAD_PATH:+:}:$GUILE_LOAD_PATH"
26 export GUILE_LOAD_COMPILED_PATH GUILE_LOAD_PATH
27
28 exec "$@"