summaryrefslogtreecommitdiff
path: root/tests/data/cmd-wrapper.in
blob: 7c7b34296a76488dbb867df985b3b3bfab8d1696 (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='@abs_top_srcdir@/tests/data/wallet.conf'
export WALLET_CONFIG
exec perl -I'@abs_top_srcdir@/perl' '@abs_top_srcdir@/server/wallet-backend' \
    -q "$@"