mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-29 19:30:36 +02:00
fix env script
* env: Fix env script to find $top_srcdir correctly
This commit is contained in:
parent
83dff6e55f
commit
53db56a030
1 changed files with 3 additions and 2 deletions
5
env
5
env
|
@ -1,4 +1,5 @@
|
|||
#!/bin/bash
|
||||
export GUILE_LOAD_PATH=`pwd`/module${GUILE_LOAD_PATH:+:$GUILE_LOAD_PATH}
|
||||
export LD_LIBRARY_PATH=`pwd`/src${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
|
||||
thisdir=$(cd $(dirname $0) && pwd)
|
||||
export GUILE_LOAD_PATH=$thisdir/module${GUILE_LOAD_PATH:+:$GUILE_LOAD_PATH}
|
||||
export LD_LIBRARY_PATH=$thisdir/src${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
|
||||
exec "$@"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue