Files
MP-SPDZ/Scripts/shamir.sh
haslersn 02981fd3ae Take external programs from environment in order to support non FHS distros
For instance, NixOS doesn't follow the FHS.
2020-07-13 17:35:48 +02:00

15 lines
217 B
Bash
Executable File

#!/usr/bin/env bash
HERE=$(cd `dirname $0`; pwd)
SPDZROOT=$HERE/..
export PLAYERS=${PLAYERS:-3}
if test "$THRESHOLD"; then
t="-T $THRESHOLD"
fi
. $HERE/run-common.sh
run_player shamir-party.x $* $t || exit 1