donau-config.in (276B)
1 #!/usr/bin/env bash 2 3 set -eu 4 5 if ! type gnunet-config >/dev/null; then 6 echo "$0 needs gnunet-config to be installed" 7 exit 1 8 fi 9 10 GC=`which gnunet-config` 11 SO=`ls %libdir%/libdonauutil.so.* | sort -n | tail -n1` 12 export LD_PRELOAD=${LD_PRELOAD:-}:${SO} 13 exec gnunet-config "$@"