summaryrefslogtreecommitdiff
path: root/tests/data/cmd-wrapper
blob: b5b6d264a535dfa8377887dbf333c9c4a2b44303 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
#
# Wrapper around the standard wallet-backend script that sets the Perl INC
# path and the WALLET_CONFIG environment variable appropriately.

WALLET_CONFIG="$SOURCE/data/wallet.conf"
export WALLET_CONFIG
exec perl -I"$SOURCE/../perl/lib" "$SOURCE/../server/wallet-backend" -q "$@"