2016-04-13 15:58:02 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2019-09-15 11:57:59 +02:00
|
|
|
set -eu
|
|
|
|
|
2016-04-13 15:58:02 +02:00
|
|
|
if ! type gnunet-config >/dev/null; then
|
|
|
|
echo "$0 needs gnunet-config to be installed"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2019-09-15 11:57:59 +02:00
|
|
|
GC=`which gnunet-config`
|
2021-08-19 20:41:25 +02:00
|
|
|
SO=`ls %libdir%/libtalerutil.so.* | sort -n | tail -n1`
|
|
|
|
export LD_PRELOAD=${LD_PRELOAD:-}:${SO}
|
2016-04-13 15:58:02 +02:00
|
|
|
exec gnunet-config "$@"
|