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

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